SetPosition

nn::gr::CTR::FragmentLight::Source::SetPosition Member Function

Syntax

void SetPosition(
     const nn::math::VEC3 & position,
     const bool is_infinity
);

void SetPosition(
     const f32 position_x,
     const f32 position_y,
     const f32 position_z,
     const bool is_infinity
);

List of Overloaded Member Functions

SetPosition ( const nn::math::VEC3 &, const bool ) Configures the light position. Converts the set value to a 16-bit floating point number used to set the rendering command and stores it.
SetPosition ( const f32, const f32, const f32, const bool ) Configures the light position. Converts the set value to a 16-bit floating point number used to set the rendering command and stores it.

Description of SetPosition ( const nn::math::VEC3 &, const bool )

Configures the light position. Converts the set value to a 16-bit floating point number used to set the rendering command and stores it.

Description of SetPosition ( const f32, const f32, const f32, const bool )

Configures the light position. Converts the set value to a 16-bit floating point number used to set the rendering command and stores it.


CONFIDENTIAL