class SetPointLightFalloffCmd

Defined at line 3495 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/hlcpp/fuchsia/ui/gfx/cpp/fidl.h

Sets the falloff factor of the PointLight identified by `light_id`.

A value of 1.0 corresponds to the physically-based "inverse-square law"

(see Wikipedia). Other values can be used for artistic effect, e.g. a

value of 0.0 means that the radiance of a surface is not dependant on

its distance from the light.

Public Members

uint32_t light_id
FloatValue falloff

Public Methods

::std::unique_ptr<SetPointLightFalloffCmd> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SetPointLightFalloffCmd * value, size_t _offset)
zx_status_t Clone (SetPointLightFalloffCmd * result)