Project

General

Profile

SO3Engine
SCOLVirtualPointer.cpp File Reference

Go to the source code of this file.

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.
 
int SCOLloadVirtualPointer (mmachine m, cbmachine w)
 Load the SO3Engine Viewport function.
 
int SCOLfreeVirtualPointer ()
 free the SO3Engine Viewport function
 

Variables

NativeDefinition natSO3Vpointer []
 

Function Documentation

◆ SCOLfreeVirtualPointer()

int SCOLfreeVirtualPointer ( )

free the SO3Engine Viewport function

Parameters
m: The VM

Definition at line 1037 of file SCOLVirtualPointer.cpp.

◆ SCOLloadVirtualPointer()

int SCOLloadVirtualPointer ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Viewport function.

Parameters
m: The VM
w: The Callback VM

Definition at line 1027 of file SCOLVirtualPointer.cpp.

Variable Documentation

◆ natSO3Vpointer

NativeDefinition natSO3Vpointer[]
Initial value:
= {
{ "SO3VirtualPointerCreate", 2, "fun [SO3_SCENE S] SO3_OBJECT", SO3VirtualPointerCreate },
{ "SO3VirtualPointerSetMaxLength", 2, "fun [SO3_OBJECT F] I", SO3VirtualPointerSetMaxLength },
{ "SO3VirtualPointerGetMaxLength", 1, "fun [SO3_OBJECT] F", SO3VirtualPointerGetMaxLength },
{ "SO3VirtualPointerSetEnable", 2, "fun [SO3_OBJECT I] I", SO3VirtualPointerSetEnable },
{ "SO3VirtualPointerGetEnable", 1, "fun [SO3_OBJECT] I", SO3VirtualPointerGetEnable },
{ "SO3VirtualPointerSetRayCastMode", 2, "fun [SO3_OBJECT I] SO3_OBJECT", SO3VirtualPointerSetRayCastMode },
{ "SO3VirtualPointerUpdate", 1, "fun [SO3_OBJECT] I", SO3VirtualPointerUpdate },
{ "SO3VirtualPointerSendClick", 2, "fun [SO3_OBJECT I] I", SO3VirtualPointerSendClick },
{ "SO3VirtualPointerSendUnClick", 2, "fun [SO3_OBJECT I] I", SO3VirtualPointerSendUnClick },
{ "SO3VirtualPointerSendMove", 2, "fun [SO3_OBJECT I] I", SO3VirtualPointerSendMove },
{ "SO3VirtualPointerSendWheel", 2, "fun [SO3_OBJECT I] I", SO3VirtualPointerSendWheel },
{ "SO3VirtualPointerHasWidgetUnder", 1, "fun [SO3_OBJECT] I", SO3VirtualPointerHasWidgetUnder },
{ "SO3VirtualPointerGetId", 1, "fun [SO3_OBJECT] I", SO3VirtualPointerGetId },
{ "SO3VirtualPointerGetlength", 1, "fun [SO3_OBJECT] F", SO3VirtualPointerGetlength },
{ "SO3VirtualPointerGetTargetPosition", 1, "fun [SO3_OBJECT] [F F F]", SO3VirtualPointerGetTargetPosition },
{ "SO3VirtualPointerGetSelectedEntityName", 1, "fun [SO3_OBJECT] S", SO3VirtualPointerGetSelectedEntityName },
{ "SO3VirtualPointerGetSelectedMaterialName", 1, "fun [SO3_OBJECT] S", SO3VirtualPointerGetSelectedMaterialName },
{ "SO3VirtualPointerGetRayInfos", 1, "fun [SO3_OBJECT] [SO3_SCENE SO3_OBJECT SO3_MATERIAL I [F F F] [F F] F]", SO3VirtualPointerGetRayInfos }
}
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 SO3VirtualPointerGetSelectedEntityName(mmachine m)
SO3VirtualPointerGetSelectedEntityName : Return the last entity name found in ray.
int SO3VirtualPointerSetEnable(mmachine m)
SO3VirtualPointerSetEnable : Enable or disable the virtual pointer.
int SO3VirtualPointerSendUnClick(mmachine m)
SO3VirtualPointerSendUnClick : Send a virtual pointer unclick.
int SO3VirtualPointerCreate(mmachine m)
main include
int SO3VirtualPointerGetSelectedMaterialName(mmachine m)
SO3VirtualPointerGetSelectedMaterialName : Return the last material name found in ray.
int SO3VirtualPointerGetTargetPosition(mmachine m)
SO3VirtualPointerGetTargetPosition : Return the last ray length.
int SO3VirtualPointerGetMaxLength(mmachine m)
SO3VirtualPointerGetMaxLength : Get the virtual pointer max length.
int SO3VirtualPointerGetId(mmachine m)
SO3VirtualPointerGetId : Return the virtual pointer id.
int SO3VirtualPointerSendClick(mmachine m)
SO3VirtualPointerSendClick : Send a virtual pointer click.
int SO3VirtualPointerGetEnable(mmachine m)
SO3VirtualPointerGetEnable : Get the virtual pointer active state.
int SO3VirtualPointerUpdate(mmachine m)
SO3VirtualPointerUpdate : Update virtual pointer raycast.
int SO3VirtualPointerSetMaxLength(mmachine m)
SO3VirtualPointerSetMaxLength : defines the max raycast length.
int SO3VirtualPointerGetlength(mmachine m)
SO3VirtualPointerGetlength : Return the last ray length.
int SO3VirtualPointerSetRayCastMode(mmachine m)
SO3VirtualPointerSetRayCastMode : Set the virtual pointer raycast mode.
int SO3VirtualPointerGetRayInfos(mmachine m)
SO3VirtualPointerGetRayInfos : Return the last ray infos.
int SO3VirtualPointerSendWheel(mmachine m)
SO3VirtualPointerSendWheel : Send a virtual pointer wheel.

Definition at line 999 of file SCOLVirtualPointer.cpp.