SetSpotDirection

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

Syntax

void SetSpotDirection(
     const nn::math::VEC3 & spot_direction
);

void SetSpotDirection(
     const f32 & spot_direction_x,
     const f32 & spot_direction_y,
     const f32 & spot_direction_z
);

List of Overloaded Member Functions

SetSpotDirection ( const nn::math::VEC3 & ) Sets the spotlight light direction. Converts the set value to a 13-bit fixed point number used to set the rendering command and stores it.
SetSpotDirection ( const f32 &, const f32 &, const f32 & ) Sets the spotlight light direction. Converts the set value to a 13-bit fixed point number used to set the rendering command and stores it.

Description of SetSpotDirection ( const nn::math::VEC3 & )

Sets the spotlight light direction. Converts the set value to a 13-bit fixed point number used to set the rendering command and stores it.

Description of SetSpotDirection ( const f32 &, const f32 &, const f32 & )

Sets the spotlight light direction. Converts the set value to a 13-bit fixed point number used to set the rendering command and stores it.


CONFIDENTIAL