class SetPointLightFalloffCmd

Defined at line 7011 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/natural_types.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 Methods

void SetPointLightFalloffCmd (Storage_ storage)
void SetPointLightFalloffCmd (uint32_t light_id, ::fuchsia_ui_gfx::FloatValue falloff)
void SetPointLightFalloffCmd ()

Default constructs a |SetPointLightFalloffCmd| only if all of its members are default constructible.

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

void SetPointLightFalloffCmd (SetPointLightFalloffCmd && )

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

void SetPointLightFalloffCmd (const SetPointLightFalloffCmd & other)
SetPointLightFalloffCmd & operator= (SetPointLightFalloffCmd && )

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

SetPointLightFalloffCmd & operator= (const SetPointLightFalloffCmd & other)
bool operator== (const SetPointLightFalloffCmd & other)
bool operator!= (const SetPointLightFalloffCmd & other)
uint32_t light_id ()
uint32_t & light_id ()
SetPointLightFalloffCmd & light_id (uint32_t value)

Setter for light_id.

const ::fuchsia_ui_gfx::FloatValue & falloff ()
::fuchsia_ui_gfx::FloatValue & falloff ()
SetPointLightFalloffCmd & falloff (::fuchsia_ui_gfx::FloatValue value)

Setter for falloff.

void SetPointLightFalloffCmd (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits