Functions | |
| int | SO3LightCreate (mmachine m) |
| main include | |
| int | SO3LightSetType (mmachine m) |
| SO3LightSetType : Defines the type of light. | |
| int | SO3LightGetType (mmachine m) |
| SO3LightGetType : Returns the type of light. | |
| int | SO3LightSetDiffuseColor (mmachine m) |
| SO3LightSetDiffuseColor : defines diffuse color of a light. | |
| int | SO3LightGetDiffuseColor (mmachine m) |
| SO3LightGetDiffuseColor : Get the diffuse color of a light. | |
| int | SO3LightSetPowerScale (mmachine m) |
| SO3LightSetPowerScale : defines power scale of a light. | |
| int | SO3LightSetShadowFarDistance (mmachine m) |
| SO3LightSetShadowFarDistance : defines shadows far distance of a light. | |
| int | SO3LightGetPowerScale (mmachine m) |
| SO3LightGetPowerScale : Get the power scale of a light. | |
| int | SO3LightGetShadowFarDistance (mmachine m) |
| SO3LightGetShadowFarDistance : Get the shadow far distance of a light. | |
| int | SO3LightSetVisible (mmachine m) |
| SO3LightSetVisible : defines visibility state of a light. | |
| int | SO3LightGetVisible (mmachine m) |
| SO3LightGetVisible : Get the visibility state of a light. | |
| int | SO3LightSetAttenuation (mmachine m) |
| SO3LightSetAttenuation : defines attenuation coefficients for a light. | |
| int | SO3LightSetAttenuationAuto (mmachine m) |
| SO3LightSetAttenuationAuto : defines attenuation coefficients for a light automatically, from given range. | |
| int | SO3LightGetAttenuation (mmachine m) |
| SO3LightGetAttenuation : Get the attenuation coefficients for a light. | |
| int | SO3LightSetSpecularColor (mmachine m) |
| SO3LightSetSpecularColor : defines specular color of a light. | |
| int | SO3LightGetSpecularColor (mmachine m) |
| SO3LightGetSpecularColor : Get the specular color of a light. | |
| int | SO3LightSetSpotFallOff (mmachine m) |
| SO3LightSetSpotFallOff : defines spot fall off of a spot light. | |
| int | SO3LightGetSpotFallOff (mmachine m) |
| SO3LightGetSpotFallOff : Get the spot fall off of a spot light. | |
| int | SO3LightSetSpotInnerAngle (mmachine m) |
| SO3LightSetSpotInnerAngle : defines spot inner angle of a spot light. | |
| int | SO3LightSetSpotOuterAngle (mmachine m) |
| SO3LightSetSpotOuterAngle : defines spot outer angle of a spot light. | |
| int | SO3LightSetSpotRange (mmachine m) |
| SO3LightSetSpotRange : defines spot range of a spot light. | |
| int | SO3LightGetSpotInnerAngle (mmachine m) |
| SO3LightGetSpotInnerAngle : Get the spot inner angle of a spot light. | |
| int | SO3LightGetSpotOuterAngle (mmachine m) |
| SO3LightGetSpotOuterAngle : Get the spot outer angle of a spot light. | |
Scol functions definition
| int SO3LightCreate | ( | mmachine | m | ) |
main include
SO3LightCreate : Create a new material Prototype: fun [SO3_SCENE S] SO3_OBJECT
| SO3_SCENE | : current scene | |
| S | : given name for the new light |
Definition at line 52 of file SCOLLight.cpp.
| int SO3LightGetAttenuation | ( | mmachine | m | ) |
SO3LightGetAttenuation : Get the attenuation coefficients for a light.
Prototype: fun [SO3_OBJECT] [F F F F]
| SO3_OBJECT | : current light |
Definition at line 578 of file SCOLLight.cpp.
| int SO3LightGetDiffuseColor | ( | mmachine | m | ) |
SO3LightGetDiffuseColor : Get the diffuse color of a light.
Prototype: fun [SO3_OBJECT] I
| SO3_OBJECT | : current light |
Definition at line 228 of file SCOLLight.cpp.
| int SO3LightGetPowerScale | ( | mmachine | m | ) |
SO3LightGetPowerScale : Get the power scale of a light.
Prototype: fun [SO3_OBJECT] F
| SO3_OBJECT | : current light |
Definition at line 341 of file SCOLLight.cpp.
| int SO3LightGetShadowFarDistance | ( | mmachine | m | ) |
SO3LightGetShadowFarDistance : Get the shadow far distance of a light.
Prototype: fun [SO3_OBJECT] F
| SO3_OBJECT | : current light |
Definition at line 378 of file SCOLLight.cpp.
| int SO3LightGetSpecularColor | ( | mmachine | m | ) |
SO3LightGetSpecularColor : Get the specular color of a light.
Prototype: fun [SO3_OBJECT] I
| SO3_OBJECT | : current light |
Definition at line 667 of file SCOLLight.cpp.
| int SO3LightGetSpotFallOff | ( | mmachine | m | ) |
SO3LightGetSpotFallOff : Get the spot fall off of a spot light.
Prototype: fun [SO3_OBJECT] F
| SO3_OBJECT | : current light |
Definition at line 743 of file SCOLLight.cpp.
| int SO3LightGetSpotInnerAngle | ( | mmachine | m | ) |
SO3LightGetSpotInnerAngle : Get the spot inner angle of a spot light.
Prototype: fun [SO3_OBJECT] F
| SO3_OBJECT | : current light |
Definition at line 908 of file SCOLLight.cpp.
| int SO3LightGetSpotOuterAngle | ( | mmachine | m | ) |
SO3LightGetSpotOuterAngle : Get the spot outer angle of a spot light.
Prototype: fun [SO3_OBJECT] F
| SO3_OBJECT | : current light |
Definition at line 945 of file SCOLLight.cpp.
| int SO3LightGetType | ( | mmachine | m | ) |
SO3LightGetType : Returns the type of light.
Prototype: fun [SO3_OBJECT] I
| SO3_OBJECT | : current light |
For type, values are :
Definition at line 153 of file SCOLLight.cpp.
| int SO3LightGetVisible | ( | mmachine | m | ) |
SO3LightGetVisible : Get the visibility state of a light.
Prototype: fun [SO3_OBJECT] I
| SO3_OBJECT | : current light |
Definition at line 457 of file SCOLLight.cpp.
| int SO3LightSetAttenuation | ( | mmachine | m | ) |
SO3LightSetAttenuation : defines attenuation coefficients for a light.
Prototype: fun [SO3_OBJECT [F F F F]] I
| SO3_OBJECT | : current light | |
| [F | F F F] : Coefficient (range, constant, linear, quadratic) |
Definition at line 499 of file SCOLLight.cpp.
| int SO3LightSetAttenuationAuto | ( | mmachine | m | ) |
SO3LightSetAttenuationAuto : defines attenuation coefficients for a light automatically, from given range.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | : Light propagation range |
Definition at line 541 of file SCOLLight.cpp.
| int SO3LightSetDiffuseColor | ( | mmachine | m | ) |
SO3LightSetDiffuseColor : defines diffuse color of a light.
Prototype: fun [SO3_OBJECT I] I
| SO3_OBJECT | : current light | |
| I | : Color value (rgba) |
Definition at line 191 of file SCOLLight.cpp.
| int SO3LightSetPowerScale | ( | mmachine | m | ) |
SO3LightSetPowerScale : defines power scale of a light.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | :Power scale value |
Definition at line 264 of file SCOLLight.cpp.
| int SO3LightSetShadowFarDistance | ( | mmachine | m | ) |
SO3LightSetShadowFarDistance : defines shadows far distance of a light.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | : Distance |
Definition at line 303 of file SCOLLight.cpp.
| int SO3LightSetSpecularColor | ( | mmachine | m | ) |
SO3LightSetSpecularColor : defines specular color of a light.
Prototype: fun [SO3_OBJECT I] I
| SO3_OBJECT | : current light | |
| I | : Given color (rgba) |
Definition at line 628 of file SCOLLight.cpp.
| int SO3LightSetSpotFallOff | ( | mmachine | m | ) |
SO3LightSetSpotFallOff : defines spot fall off of a spot light.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | : fall off value |
Definition at line 705 of file SCOLLight.cpp.
| int SO3LightSetSpotInnerAngle | ( | mmachine | m | ) |
SO3LightSetSpotInnerAngle : defines spot inner angle of a spot light.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | : inner angle value |
Definition at line 781 of file SCOLLight.cpp.
| int SO3LightSetSpotOuterAngle | ( | mmachine | m | ) |
SO3LightSetSpotOuterAngle : defines spot outer angle of a spot light.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | : outer angle value |
Definition at line 821 of file SCOLLight.cpp.
| int SO3LightSetSpotRange | ( | mmachine | m | ) |
SO3LightSetSpotRange : defines spot range of a spot light.
Prototype: fun [SO3_OBJECT F] I
| SO3_OBJECT | : current light | |
| F | : range value |
Definition at line 861 of file SCOLLight.cpp.
| int SO3LightSetType | ( | mmachine | m | ) |
SO3LightSetType : Defines the type of light.
Prototype: fun [SO3_OBJECT I] I
| SO3_OBJECT | : current light | |
| I | : Type |
For type, values are :
Definition at line 108 of file SCOLLight.cpp.
| int SO3LightSetVisible | ( | mmachine | m | ) |
SO3LightSetVisible : defines visibility state of a light.
Prototype: fun [SO3_OBJECT I] I
| SO3_OBJECT | : current light | |
| I | : visibility state (1 enable, 0 disable) |
Definition at line 416 of file SCOLLight.cpp.
1.6.3