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

Syntax

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

Parameters

Name Description
in spot_direction Direction of the spotlight to be set.

Return Values

None.

Description

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