#include "SO3SCOL.h"#include "../SO3SceneGraph/SO3Light.h"#include "../SCOLBasic/SO3Std.h"#include "../SO3SceneGraph/SO3NodeScol.h"#include "../SO3SceneGraph/SO3Scene.h"Go to the source code of this file.
Defines | |
| #define | NBLIGHTPKG 23 |
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. | |
| int | SCOLloadLight (mmachine m, cbmachine w) |
| Load the SO3Engine Lights function. | |
| int | SCOLfreeLight () |
| free the SO3Engine Lights function | |
Variables | |
| char * | LIGHTname [NBLIGHTPKG] |
| int(* | LIGHTFunc [NBLIGHTPKG])(mmachine m) |
| int | LIGHTnarg [NBLIGHTPKG] |
| char * | LIGHTType [NBLIGHTPKG] |
| #define NBLIGHTPKG 23 |
Nb of Scol functions or types
Definition at line 977 of file SCOLLight.cpp.
| int SCOLfreeLight | ( | ) |
free the SO3Engine Lights function
| m | : The VM |
Definition at line 1119 of file SCOLLight.cpp.
Load the SO3Engine Lights function.
| m | : The VM | |
| w | : The Callback VM |
Definition at line 1109 of file SCOLLight.cpp.
{
SO3LightCreate,
SO3LightSetType,
SO3LightGetType,
SO3LightSetDiffuseColor,
SO3LightGetDiffuseColor,
SO3LightSetPowerScale,
SO3LightSetShadowFarDistance,
SO3LightGetPowerScale,
SO3LightGetShadowFarDistance,
SO3LightSetVisible,
SO3LightGetVisible,
SO3LightSetAttenuation,
SO3LightSetAttenuationAuto,
SO3LightGetAttenuation,
SO3LightSetSpecularColor,
SO3LightGetSpecularColor,
SO3LightSetSpotFallOff,
SO3LightGetSpotFallOff,
SO3LightSetSpotInnerAngle,
SO3LightSetSpotOuterAngle,
SO3LightGetSpotInnerAngle,
SO3LightGetSpotOuterAngle,
SO3LightSetSpotRange
}
Nb of arguments of each scol function
Definition at line 1014 of file SCOLLight.cpp.
| char* LIGHTname[NBLIGHTPKG] |
{
"SO3LightCreate",
"SO3LightSetType",
"SO3LightGetType",
"SO3LightSetDiffuseColor",
"SO3LightGetDiffuseColor",
"SO3LightSetPowerScale",
"SO3LightSetShadowFarDistance",
"SO3LightGetPowerScale",
"SO3LightGetShadowFarDistance",
"SO3LightSetVisible",
"SO3LightGetVisible",
"SO3LightSetAttenuation",
"SO3LightSetAttenuationAuto",
"SO3LightGetAttenuation",
"SO3LightSetSpecularColor",
"SO3LightGetSpecularColor",
"SO3LightSetSpotFallOff",
"SO3LightGetSpotFallOff",
"SO3LightSetSpotInnerAngle",
"SO3LightSetSpotOuterAngle",
"SO3LightGetSpotInnerAngle",
"SO3LightGetSpotOuterAngle",
"SO3LightSetSpotRange"
}
Pointers to C functions that manipulate the VM for each scol function previously defined
Definition at line 983 of file SCOLLight.cpp.
| int LIGHTnarg[NBLIGHTPKG] |
{
2,
2,
1,
2,
1,
2,
2,
1,
1,
2,
1,
2,
2,
1,
2,
1,
2,
1,
2,
2,
1,
1,
2
}
Nb of arguments of each scol function
Definition at line 1045 of file SCOLLight.cpp.
| char* LIGHTType[NBLIGHTPKG] |
{
"fun [SO3_SCENE S] SO3_OBJECT",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT [F F F F]] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] [F F F F]",
"fun [SO3_OBJECT I] I",
"fun [SO3_OBJECT] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT F] I",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT] F",
"fun [SO3_OBJECT [F F F]] I"
}
Prototypes of the scol functions
Definition at line 1076 of file SCOLLight.cpp.
1.6.3