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

Syntax

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

Arguments

Name Description
in position Position of the light to be set.
in is_infinity Set to true if the position stretches to infinity.

Return Values

None.

Description

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