SO3Engine
|
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 | SO3LightSetVolumetric (mmachine m) |
SO3LightSetVolumetric : defines if a light is displayed as a volumetric light. | |
int | SO3LightGetVolumetric (mmachine m) |
SO3LightGetVolumetric : Get the volumetric 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. | |
int | SO3LightSetSourceSize (mmachine m) |
SO3LightSetSourceSize : defines the source size of a rect light. | |
int | SO3LightGetSourceSize (mmachine m) |
SO3LightGetSourceSize : get the source size of a rect 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 49 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 743 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 244 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 375 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 418 of file SCOLLight.cpp.
int SO3LightGetSourceSize | ( | mmachine | m | ) |
SO3LightGetSourceSize : get the source size of a rect light.
Prototype: fun [SO3_OBJECT] [F F]
SO3_OBJECT | : current light |
Definition at line 1257 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 844 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 932 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 1121 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 1164 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 157 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 509 of file SCOLLight.cpp.
int SO3LightGetVolumetric | ( | mmachine | m | ) |
SO3LightGetVolumetric : Get the volumetric state of a light.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current light |
Definition at line 604 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 652 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 700 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 201 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 286 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 331 of file SCOLLight.cpp.
int SO3LightSetSourceSize | ( | mmachine | m | ) |
SO3LightSetSourceSize : defines the source size of a rect light.
Prototype: fun [SO3_OBJECT [F F]] I
SO3_OBJECT | : current light |
[F | F] : size x y |
Definition at line 1208 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 799 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 888 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 976 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 1022 of file SCOLLight.cpp.
int SO3LightSetSpotRange | ( | mmachine | m | ) |
SO3LightSetSpotRange : defines spot range of a spot light.
Prototype: fun [SO3_OBJECT [F F F]] I
SO3_OBJECT | : current light |
[F | F F] : inner, outer angle and fallof |
Definition at line 1068 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 105 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 462 of file SCOLLight.cpp.
int SO3LightSetVolumetric | ( | mmachine | m | ) |
SO3LightSetVolumetric : defines if a light is displayed as a volumetric light.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current light |
I | : state (1 enable, 0 disable) |
Definition at line 557 of file SCOLLight.cpp.