SO3Engine
|
Functions | |
int | SO3VirtualPointerCreate (mmachine m) |
main include | |
int | SO3VirtualPointerSetMaxLength (mmachine m) |
SO3VirtualPointerSetMaxLength : defines the max raycast length. | |
int | SO3VirtualPointerGetMaxLength (mmachine m) |
SO3VirtualPointerGetMaxLength : Get the virtual pointer max length. | |
int | SO3VirtualPointerSetEnable (mmachine m) |
SO3VirtualPointerSetEnable : Enable or disable the virtual pointer. | |
int | SO3VirtualPointerGetEnable (mmachine m) |
SO3VirtualPointerGetEnable : Get the virtual pointer active state. | |
int | SO3VirtualPointerSetRayCastMode (mmachine m) |
SO3VirtualPointerSetRayCastMode : Set the virtual pointer raycast mode. | |
int | SO3VirtualPointerUpdate (mmachine m) |
SO3VirtualPointerUpdate : Update virtual pointer raycast. | |
int | SO3VirtualPointerSendClick (mmachine m) |
SO3VirtualPointerSendClick : Send a virtual pointer click. | |
int | SO3VirtualPointerSendUnClick (mmachine m) |
SO3VirtualPointerSendUnClick : Send a virtual pointer unclick. | |
int | SO3VirtualPointerSendWheel (mmachine m) |
SO3VirtualPointerSendWheel : Send a virtual pointer wheel. | |
int | SO3VirtualPointerSendMove (mmachine m) |
SO3VirtualPointerSendMove : Send a virtual pointer move. | |
int | SO3VirtualPointerHasWidgetUnder (mmachine m) |
SO3VirtualPointerHasWidgetUnder : Return if a widget have been hit by the raycast. | |
int | SO3VirtualPointerGetId (mmachine m) |
SO3VirtualPointerGetId : Return the virtual pointer id. | |
int | SO3VirtualPointerGetlength (mmachine m) |
SO3VirtualPointerGetlength : Return the last ray length. | |
int | SO3VirtualPointerGetTargetPosition (mmachine m) |
SO3VirtualPointerGetTargetPosition : Return the last ray length. | |
int | SO3VirtualPointerGetSelectedEntityName (mmachine m) |
SO3VirtualPointerGetSelectedEntityName : Return the last entity name found in ray. | |
int | SO3VirtualPointerGetSelectedMaterialName (mmachine m) |
SO3VirtualPointerGetSelectedMaterialName : Return the last material name found in ray. | |
int | SO3VirtualPointerGetRayInfos (mmachine m) |
SO3VirtualPointerGetRayInfos : Return the last ray infos. | |
Scol functions definition
int SO3VirtualPointerCreate | ( | mmachine | m | ) |
main include
SO3VirtualPointerCreate : Create a new virtual pointer to raycast in scene from a position
Prototype: fun [SO3_SCENE S] SO3_OBJECT
SO3_SCENE | : current scene |
S | : given name for the new virtual pointer |
Definition at line 51 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetEnable | ( | mmachine | m | ) |
SO3VirtualPointerGetEnable : Get the virtual pointer active state.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current virtual pointer |
Definition at line 234 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetId | ( | mmachine | m | ) |
SO3VirtualPointerGetId : Return the virtual pointer id.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current virtual pointer |
Definition at line 616 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetlength | ( | mmachine | m | ) |
SO3VirtualPointerGetlength : Return the last ray length.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current virtual pointer |
Definition at line 663 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetMaxLength | ( | mmachine | m | ) |
SO3VirtualPointerGetMaxLength : Get the virtual pointer max length.
Prototype: fun [SO3_OBJECT] F
SO3_OBJECT | : current virtual pointer |
Definition at line 149 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetRayInfos | ( | mmachine | m | ) |
SO3VirtualPointerGetRayInfos : Return the last ray infos.
Prototype: fun [SO3_OBJECT] [SO3_SCENE SO3_OBJECT SO3_MATERIAL I [F F F] [F F] F]
SO3_OBJECT | : current virtual pointer |
Definition at line 885 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetSelectedEntityName | ( | mmachine | m | ) |
SO3VirtualPointerGetSelectedEntityName : Return the last entity name found in ray.
Prototype: fun [SO3_OBJECT] S
SO3_OBJECT | : current virtual pointer |
Definition at line 768 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetSelectedMaterialName | ( | mmachine | m | ) |
SO3VirtualPointerGetSelectedMaterialName : Return the last material name found in ray.
Prototype: fun [SO3_OBJECT] S
SO3_OBJECT | : current virtual pointer |
Definition at line 823 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerGetTargetPosition | ( | mmachine | m | ) |
SO3VirtualPointerGetTargetPosition : Return the last ray length.
Prototype: fun [SO3_OBJECT] [F F F]
SO3_OBJECT | : current virtual pointer |
Definition at line 710 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerHasWidgetUnder | ( | mmachine | m | ) |
SO3VirtualPointerHasWidgetUnder : Return if a widget have been hit by the raycast.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current virtual pointer |
Definition at line 569 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSendClick | ( | mmachine | m | ) |
SO3VirtualPointerSendClick : Send a virtual pointer click.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current virtual pointer |
I | : Mouse button (1, 2 or 16 for middle button) |
Definition at line 370 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSendMove | ( | mmachine | m | ) |
SO3VirtualPointerSendMove : Send a virtual pointer move.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current virtual pointer |
I | : Mouse button (0 for none, 1, 2 or 16 for middle button) |
Definition at line 520 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSendUnClick | ( | mmachine | m | ) |
SO3VirtualPointerSendUnClick : Send a virtual pointer unclick.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current virtual pointer |
I | : Mouse button (1, 2 or 16 for middle button) |
Definition at line 420 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSendWheel | ( | mmachine | m | ) |
SO3VirtualPointerSendWheel : Send a virtual pointer wheel.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current virtual pointer |
I | : wheel delta |
Definition at line 470 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSetEnable | ( | mmachine | m | ) |
SO3VirtualPointerSetEnable : Enable or disable the virtual pointer.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : current virtual pointer |
I | : new state (0 to disable or 1 to enable) |
Definition at line 191 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSetMaxLength | ( | mmachine | m | ) |
SO3VirtualPointerSetMaxLength : defines the max raycast length.
Prototype: fun [SO3_OBJECT F] I
SO3_OBJECT | : current virtual pointer |
F | : max length |
Definition at line 100 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerSetRayCastMode | ( | mmachine | m | ) |
SO3VirtualPointerSetRayCastMode : Set the virtual pointer raycast mode.
Prototype: fun [SO3_OBJECT I] SO3_OBJECT
SO3_OBJECT | : current virtual pointer |
I | : 0 for fast mode (default) and 1 for limited mode (position is only retrieved on widgets textures), 2 for precise mode |
Definition at line 275 of file SCOLVirtualPointer.cpp.
int SO3VirtualPointerUpdate | ( | mmachine | m | ) |
SO3VirtualPointerUpdate : Update virtual pointer raycast.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : current virtual pointer |
Definition at line 322 of file SCOLVirtualPointer.cpp.