|
|
_FORCEINLINE bt::vector4f & | ambient () |
| | Ambient color.
|
| |
|
_FORCEINLINE float | cutoff () |
| | Return spot angle.
|
| |
|
_FORCEINLINE bt::vector4f & | diffuse () |
| | Diffuse color.
|
| |
|
_FORCEINLINE vector3f & | direction () |
| | Return light direction.
|
| |
|
_FORCEINLINE unsigned int | mode () |
| | Return light mode.
|
| |
|
CSAD_API void * | set (unsigned _int32, void *) |
| | used for any interface commands.
|
| |
|
CSAD_API void | setCutoff (float val) |
| | Set spot angle.
|
| |
|
CSAD_API void | setDirection (vector3f *dir) |
| | Set light direction.
|
| |
|
CSAD_API void | setMode (unsigned int mode) |
| | Define light mode.
|
| |
|
CSAD_API void | setMode (char *mode) |
| | Define light mode.
|
| |
|
_FORCEINLINE void | setMode (const char *mode) |
| | Define light mode.
|
| |
|
_FORCEINLINE bt::vector4f & | specular () |
| | Specular color.
|
| |
|
template<typename T > |
| _FORCEINLINE T * | addComponent () |
| | Add component of the specified type in the container if this component already exists, returns available.
|
| |
|
template<typename T > |
| _FORCEINLINE T * | getComponent () |
| | Returns the component of the given type, if it is not in a container returns 0.
|
| |
|
CSAD_API Transform * | getContainer () |
| | Returns the container in which the component.
|
| |
|
virtual CSAD_API void | prepare () |
| | The event is called during the preparation stage.
|
| |
|
virtual CSAD_API void | render () |
| | The event is called during the rendering of the model.
|
| |
|
virtual CSAD_API void | select () |
| | The event is called during handling of a choice of object - crossing with ray.
|
| |
|
template<typename T > |
| _FORCEINLINE T * | addComponent () |
| | Add component of the specified type in the container if this component already exists, returns available.
|
| |
|
template<typename T > |
| _FORCEINLINE T * | getComponent () |
| | Returns the component of the given type, if it is not in a container returns 0.
|
| |
|
_FORCEINLINE ContainerComponents * | getContainer () |
| | Returns the container in which the component.
|
| |
|
template<typename T > |
| _FORCEINLINE T * | getContainer () |
| | Returns the container in which the component, if the container does not match the given type 0 is returned.
|
| |
|
virtual CSAD_API void | quit () |
| | The event is called before the program exits.
|
| |
|
virtual CSAD_API void | start () |
| | This event is fired after the program start.
|
| |
|
virtual CSAD_API void | update () |
| | This event is fired before rendering environment container component.
|
| |
|
_FORCEINLINE bool | isContainer () |
| | returns true if the object is a container.
|
| |
|
_FORCEINLINE ParametersList * | read (ParametersList *data) |
| | read attributes object.
|
| |
|
_FORCEINLINE void * | type () |
| | the output pointer to the typeid() of the class.
|
| |
|
_FORCEINLINE void | write (ParametersList *data) |
| | record attributes of the object.
|
| |
Light - компонент определяющий источник света.
For description in the configuration:
<Transform>
<Light mode="режим" direction="направление"/>
</Transform>
- See Also
- Transform, csad: scene