nw::gfx::VertexLight::Direction Member Function

Syntax

const math::VEC3 & Direction() const;

math::VEC3 & Direction();

List of Overloaded Member Functions

Direction ( ) Gets the light direction.
Direction ( ) Gets the light direction.

Description of Direction ( )

Parent node rotation is calculated or copied according to the inheritance flag from m_Direction of the ResLight class by the SceneUpdater function. Use ResLight::SetDirection if Direction is changed before executing SceneUpdaterUpdateTransformNode, or directly edit Direction after executing SceneUpdater.

Description of Direction ( )

Parent node rotation is calculated or copied according to the inheritance flag from m_Direction of the ResLight class by the SceneUpdater function. Use ResLight::SetDirection if Direction is changed before executing SceneUpdaterUpdateTransformNode, or directly edit Direction after executing SceneUpdater.


CONFIDENTIAL