8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_DIRECTIONAL_LIGHT_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_DIRECTIONAL_LIGHT_H
17 namespace SceneDescription
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements a x3d directional light node.
Definition: scenedescription/sdx/x3d/DirectionalLight.h:31
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
This class implements an abstract x3d light node.
Definition: X3DLightNode.h:35
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15