8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_DIRECTIONAL_LIGHT_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_DIRECTIONAL_LIGHT_H
This class implements a node specification object.
Definition scenedescription/Node.h:77
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
size_t objectAddress() const override
Returns the address of the most derived object.
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
DirectionalLight(const SDXEnvironment *environment)
Creates a new x3d directional light node.
void onGlobalLight(const HomogenousMatrix4 &world_T_light) override
Event function to update the position or direction of a light source with global state.
SingleVector3 direction_
Direction field.
Definition scenedescription/sdx/x3d/DirectionalLight.h:75
X3DLightNode(const SDXEnvironment *environment)
Creates an abstract x3d light node.
This class implements a node environment container.
Definition SDXNode.h:62
This class implements a timestamp.
Definition Timestamp.h:64
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
SmartObjectRef< Scene > SceneRef
Definition of a smart object reference holding a scene node.
Definition rendering/Scene.h:29
Field0D< Vector3 > SingleVector3
Definition of a single field with 3D vector value.
Definition Field0D.h:95
Namespace of the S(scene)D(escription)X X3D SceneDescription library.
Definition Appearance.h:26
Definition Appearance.h:23
Namespace of the SceneDescription library.
Definition DynamicNode.h:21
The namespace covering the entire Ocean framework.
Definition Accessor.h:15