nn::gr::CTR::FragmentLight::Source::SetSpotDirection Member Function
void SetSpotDirection(
const f32 & spot_direction_x,
const f32 & spot_direction_y,
const f32 & spot_direction_z
);
| Name | Description | |
|---|---|---|
| in | spot_direction_x |
X value for the spotlight direction to be set. |
| in | spot_direction_y |
Y value for the spotlight direction to be set. |
| in | spot_direction_z |
Z value for the spotlight direction to be set. |
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