29 #ifndef __SPOTLIGHT_H__
30 #define __SPOTLIGHT_H__
99 Inst< SFFloat> _ambientIntensity = 0,
100 Inst< SFColor> _color = 0,
101 Inst< SFFloat> _intensity = 0,
102 Inst< SFBool > _global = 0,
103 Inst< SFBool > _on = 0,
104 Inst< SFVec3f> _attenuation = 0,
105 Inst< SFFloat> _beamWidth = 0,
106 Inst< SFFloat> _cutOffAngle = 0,
107 Inst< SFVec3f> _direction = 0,
108 Inst< SFVec3f> _location = 0,
109 Inst< SFFloat> _radius = 0 );
Contains the SFVec3f field class.
Header file for X3DLightNode, X3D scene-graph node.
The SpotLight node defines a light source that emits light from a specific point along a specific dir...
Definition: SpotLight.h:94
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: SpotLight.h:181
H3DUniquePtr< SFVec3f > attenuation
The attenuation field defines how the SpotLight node's illumination falls off with distance from the ...
Definition: SpotLight.h:128
H3DUniquePtr< SFFloat > cutOffAngle
The cutOffAngle field specifies the outer bound of the solid angle.
Definition: SpotLight.h:155
H3DUniquePtr< SFFloat > radius
This field is not supported by H3DAPI.
Definition: SpotLight.h:178
H3DUniquePtr< SFVec3f > direction
The direction field specifies the direction vector of the light's central axis defined in the local c...
Definition: SpotLight.h:164
H3DUniquePtr< SFVec3f > location
The location field specifies a translation offset of the centre point of the light source from the li...
Definition: SpotLight.h:175
H3DUniquePtr< SFFloat > beamWidth
The beamWidth field specifies an inner solid angle in which the light source emits light at uniform f...
Definition: SpotLight.h:145
The X3DLightNode abstract node type is the base type from which all node types that serve as light so...
Definition: X3DLightNode.h:70
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194
A structure representing a the OpenGL representation of the specified light source.
Definition: X3DLightNode.h:75