SO3Engine
|
Functions | |
int | SO3CameraCreate (mmachine m) |
main include | |
int | SO3CameraLookAt (mmachine m) |
SO3CameraLookAt : Set a "look at" on the camera. | |
int | SO3CameraGetDirection (mmachine m) |
SO3CameraGetDirection : Get the direction of a camera. | |
int | SO3CameraGetDerivedDirection (mmachine m) |
SO3CameraGetDerivedDirection : Get the derivated direction of a camera. | |
int | SO3CameraGetDerivedUp (mmachine m) |
SO3CameraGetDerivedUp : Gets the derived up vector of the camera, including any rotation inherited from a node attachment and reflection matrix. | |
int | SO3CameraGetTriangleCount (mmachine m) |
SO3CameraGetTriangleCount : get the number of triangles rendered in last update. | |
int | SO3CameraGetBatchCount (mmachine m) |
SO3CameraGetBatchCount : get the number of batch rendered in last update. | |
int | SO3CameraSetViewport (mmachine m) |
SO3CameraSetViewport : Attach a camera to a viewport. | |
int | SO3CameraSetFocalLength (mmachine m) |
SO3CameraSetFocalLength : defines focal length of a camera. | |
int | SO3CameraGetFocalLength (mmachine m) |
SO3CameraGetFocalLength : Get the focal length of a camera. | |
int | SO3CameraSetFOVy (mmachine m) |
SO3CameraSetFOVy : defines FOVy of a camera. | |
int | SO3CameraSetLODbias (mmachine m) |
SO3CameraSetLODbias : defines a camera LOD bias. | |
int | SO3CameraSetAspectRatio (mmachine m) |
SO3CameraSetAspectRatio : defines the aspect ratio of a camera. | |
int | SO3CameraGetAspectRatio (mmachine m) |
SO3CameraGetAspectRatio : get the aspect ratio of a camera. | |
int | SO3CameraSetAutoAspectRatio (mmachine m) |
SO3CameraSetAutoAspectRatio : set a camera aspect ratio to automatic. | |
int | SO3CameraSetFrustumOffset (mmachine m) |
SO3CameraSetFrustumOffset : defines the frustum offset of a camera. | |
int | SO3CameraGetFrustumOffset (mmachine m) |
SO3CameraGetFrustumOffset : get the frustum offset of a camera. | |
int | SO3CameraGetFOVy (mmachine m) |
SO3CameraGetFOVy : Get the FOVy of a camera. | |
int | SO3CameraGetLODbias (mmachine m) |
SO3CameraGetLODbias : Get the a camera LOD bias. | |
int | SO3CameraSetPolygonMode (mmachine m) |
SO3CameraSetPolygonMode : Set the polygon Mode for a given camera. | |
int | SO3CameraGetPolygonMode (mmachine m) |
SO3CameraGetPolygonMode : Get the Polygon mode of a camera. | |
int | SO3CameraSetProjectionType (mmachine m) |
SO3CameraSetProjectionType : Sets the type of projection to use (orthographic or perspective). Default is perspective. | |
int | SO3CameraGetProjectionType (mmachine m) |
SO3CameraGetProjectionType : Get the camera projection type. | |
int | SO3CameraSetOrthoWindow (mmachine m) |
SO3CameraSetOrthoWindow : Sets the orthographic window settings, for use with orthographic rendering only. | |
int | SO3CameraGetOrthoWindow (mmachine m) |
SO3CameraGetOrthoWindow : Gets the orthographic window settings, for use with orthographic rendering only. | |
int | SO3CameraSetNearClipDistance (mmachine m) |
SO3CameraSetNearClipDistance : defines near clip distance of a camera. | |
int | SO3CameraGetNearClipDistance (mmachine m) |
SO3CameraGetNearClipDistance : Get the near clip distance of a camera. | |
int | SO3CameraSetFarClipDistance (mmachine m) |
SO3CameraSetFarClipDistance : defines far clip distance of a camera. | |
int | SO3CameraGetFarClipDistance (mmachine m) |
SO3CameraGetFarClipDistance : Get the far clip distance of a camera. | |
int | SO3CameraGetViewport (mmachine m) |
SO3CameraGetViewport : Get the current viewport attached to a camera. | |
int | SO3CameraGetNumRenderedFaces (mmachine m) |
SO3CameraGetNumRenderedFaces : Get the numbered of rendered faces for a camera. | |
int | SO3CameraSetProjectionMatrix (mmachine m) |
SO3CameraSetProjectionMatrix : Set the camera projection matrix. | |
Scol functions definition
int SO3CameraCreate | ( | mmachine | m | ) |
main include
SO3CameraCreate : Create a new camera
Prototype: fun [SO3_SCENE S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name for the new camera |
Definition at line 56 of file SCOLCamera.cpp.
int SO3CameraGetAspectRatio | ( | mmachine | m | ) |
SO3CameraGetAspectRatio : get the aspect ratio of a camera.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current camera |
Definition at line 685 of file SCOLCamera.cpp.
int SO3CameraGetBatchCount | ( | mmachine | m | ) |
SO3CameraGetBatchCount : get the number of batch rendered in last update.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current camera |
Definition at line 360 of file SCOLCamera.cpp.
int SO3CameraGetDerivedDirection | ( | mmachine | m | ) |
SO3CameraGetDerivedDirection : Get the derivated direction of a camera.
Prototype: fun [SO3_OBJECT] [F F F]
SO3_OBJECT | : current camera |
Definition at line 214 of file SCOLCamera.cpp.
int SO3CameraGetDerivedUp | ( | mmachine | m | ) |
SO3CameraGetDerivedUp : Gets the derived up vector of the camera, including any rotation inherited from a node attachment and reflection matrix.
Prototype: fun [SO3_OBJECT] [F F F]
SO3_OBJECT | : current camera |
Definition at line 267 of file SCOLCamera.cpp.
int SO3CameraGetDirection | ( | mmachine | m | ) |
SO3CameraGetDirection : Get the direction of a camera.
Prototype: fun [SO3_OBJECT] [F F F]
SO3_OBJECT | : current camera |
Definition at line 160 of file SCOLCamera.cpp.
int SO3CameraGetFarClipDistance | ( | mmachine | m | ) |
SO3CameraGetFarClipDistance : Get the far clip distance of a camera.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current camera |
Definition at line 1410 of file SCOLCamera.cpp.
int SO3CameraGetFocalLength | ( | mmachine | m | ) |
SO3CameraGetFocalLength : Get the focal length of a camera.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current camera |
Definition at line 505 of file SCOLCamera.cpp.
int SO3CameraGetFOVy | ( | mmachine | m | ) |
SO3CameraGetFOVy : Get the FOVy of a camera.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current camera |
Definition at line 875 of file SCOLCamera.cpp.
int SO3CameraGetFrustumOffset | ( | mmachine | m | ) |
SO3CameraGetFrustumOffset : get the frustum offset of a camera.
Prototype: fun [SO3_OBJECT] [F F]
SO3_OBJECT | : current camera |
Definition at line 824 of file SCOLCamera.cpp.
int SO3CameraGetLODbias | ( | mmachine | m | ) |
SO3CameraGetLODbias : Get the a camera LOD bias.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current camera |
Definition at line 916 of file SCOLCamera.cpp.
int SO3CameraGetNearClipDistance | ( | mmachine | m | ) |
SO3CameraGetNearClipDistance : Get the near clip distance of a camera.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current camera |
Definition at line 1324 of file SCOLCamera.cpp.
int SO3CameraGetNumRenderedFaces | ( | mmachine | m | ) |
SO3CameraGetNumRenderedFaces : Get the numbered of rendered faces for a camera.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current camera |
Definition at line 1504 of file SCOLCamera.cpp.
int SO3CameraGetOrthoWindow | ( | mmachine | m | ) |
SO3CameraGetOrthoWindow : Gets the orthographic window settings, for use with orthographic rendering only.
Prototype: fun [SO3_OBJECT] [F F]
SO3_OBJECT | : current camera |
Definition at line 1221 of file SCOLCamera.cpp.
int SO3CameraGetPolygonMode | ( | mmachine | m | ) |
SO3CameraGetPolygonMode : Get the Polygon mode of a camera.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current camera |
For polygon mode, values are :
Definition at line 1019 of file SCOLCamera.cpp.
int SO3CameraGetProjectionType | ( | mmachine | m | ) |
SO3CameraGetProjectionType : Get the camera projection type.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current camera |
For projection type, values are :
Definition at line 1126 of file SCOLCamera.cpp.
int SO3CameraGetTriangleCount | ( | mmachine | m | ) |
SO3CameraGetTriangleCount : get the number of triangles rendered in last update.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current camera |
Definition at line 320 of file SCOLCamera.cpp.
int SO3CameraGetViewport | ( | mmachine | m | ) |
SO3CameraGetViewport : Get the current viewport attached to a camera.
Prototype: fun [SO3_OBJECT] SO3_VIEWPORT
SO3_OBJECT | : current camera |
Definition at line 1452 of file SCOLCamera.cpp.
int SO3CameraLookAt | ( | mmachine | m | ) |
SO3CameraLookAt : Set a "look at" on the camera.
Prototype: fun [SO3_OBJECT [F F F]] I
SO3_OBJECT | : current camera |
[F | F F] : The "look at" vector |
Definition at line 105 of file SCOLCamera.cpp.
int SO3CameraSetAspectRatio | ( | mmachine | m | ) |
SO3CameraSetAspectRatio : defines the aspect ratio of a camera.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current camera |
F | : ratio |
Definition at line 644 of file SCOLCamera.cpp.
int SO3CameraSetAutoAspectRatio | ( | mmachine | m | ) |
SO3CameraSetAutoAspectRatio : set a camera aspect ratio to automatic.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current camera |
I | : state |
Definition at line 725 of file SCOLCamera.cpp.
int SO3CameraSetFarClipDistance | ( | mmachine | m | ) |
SO3CameraSetFarClipDistance : defines far clip distance of a camera.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current camera |
F | : Far clip distance |
Definition at line 1367 of file SCOLCamera.cpp.
int SO3CameraSetFocalLength | ( | mmachine | m | ) |
SO3CameraSetFocalLength : defines focal length of a camera.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current camera |
F | : focal length |
Definition at line 456 of file SCOLCamera.cpp.
int SO3CameraSetFOVy | ( | mmachine | m | ) |
SO3CameraSetFOVy : defines FOVy of a camera.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current camera |
F | : given FOVy |
Definition at line 547 of file SCOLCamera.cpp.
int SO3CameraSetFrustumOffset | ( | mmachine | m | ) |
SO3CameraSetFrustumOffset : defines the frustum offset of a camera.
Prototype: fun [SO3_OBJECT F F] I
SO3_OBJECT | : current camera |
F | : X offset |
F | : Y offset |
Definition at line 774 of file SCOLCamera.cpp.
int SO3CameraSetLODbias | ( | mmachine | m | ) |
SO3CameraSetLODbias : defines a camera LOD bias.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current camera |
F | : LOD bias value, must be > 0.0 |
Definition at line 590 of file SCOLCamera.cpp.
int SO3CameraSetNearClipDistance | ( | mmachine | m | ) |
SO3CameraSetNearClipDistance : defines near clip distance of a camera.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current camera |
F | : Near clip distance |
Definition at line 1274 of file SCOLCamera.cpp.
int SO3CameraSetOrthoWindow | ( | mmachine | m | ) |
SO3CameraSetOrthoWindow : Sets the orthographic window settings, for use with orthographic rendering only.
Prototype: fun [SO3_OBJECT F F] I
SO3_OBJECT | : current camera |
F | : width in world unit |
F | : height in world unit |
Definition at line 1176 of file SCOLCamera.cpp.
int SO3CameraSetPolygonMode | ( | mmachine | m | ) |
SO3CameraSetPolygonMode : Set the polygon Mode for a given camera.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current camera |
I | : Polygon Mode |
For polygon mode, values are :
Definition at line 964 of file SCOLCamera.cpp.
int SO3CameraSetProjectionMatrix | ( | mmachine | m | ) |
SO3CameraSetProjectionMatrix : Set the camera projection matrix.
Prototype: fun [SO3_OBJECT [[F F F F] [F F F F] [F F F F] [F F F F]]] I
SO3_OBJECT | : current camera |
[[F | F F F] [F F F F] [F F F F] [F F F F]] : projection matrix |
Definition at line 1548 of file SCOLCamera.cpp.
int SO3CameraSetProjectionType | ( | mmachine | m | ) |
SO3CameraSetProjectionType : Sets the type of projection to use (orthographic or perspective). Default is perspective.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current camera |
I | : Projection Type Mode |
For polygon mode, values are :
Definition at line 1074 of file SCOLCamera.cpp.
int SO3CameraSetViewport | ( | mmachine | m | ) |
SO3CameraSetViewport : Attach a camera to a viewport.
Prototype: fun [SO3_VIEWPORT SO3_OBJECT] I
SO3_VIEWPORT | : current viewport |
SO3_OBJECT | : current camera |
Definition at line 401 of file SCOLCamera.cpp.