nw::gfx::VertexLight::Direction Member Functionconst math::VEC3 & Direction() const; math::VEC3 & Direction();
| Direction ( ) | Gets the light direction. |
| Direction ( ) | Gets the light 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.
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