nn::gd::CTR::Light::SetSpotDirection Member Function

Syntax

void SetSpotDirection(
     f32 X,
     f32 Y,
     f32 Z
);

Arguments

Name Description
in X Sets the x-coordinate of the spotlight.
in Y Sets the y-coordinate of the spotlight.
in Z Sets the z-coordinate of the spotlight.

Return Values

None.

Description

Sets the spotlight light direction. SOURCE_TYPE_PUNCTUAL must be specified for the light type to be set using SetLightType.

Revision History

2011/02/17
Initial version.

CONFIDENTIAL