Project

General

Profile

SO3Engine
SCOLLineEntity.cpp File Reference

Go to the source code of this file.

Functions

int SO3LineEntityCreate (mmachine m)
 main include
 
int SO3LineEntityCreateDashed (mmachine m)
 SO3LineEntityCreateDashed : Create a new line entity.
 
int SO3LineEntityCreateEx (mmachine m)
 SO3LineEntityCreateEx : Create a new line entity.
 
int SO3LineEntityCreateDashedEx (mmachine m)
 SO3LineEntityCreateDashedEx : Create a new line entity.
 
int SO3LineEntityGetDiffuse (mmachine m)
 SO3LineEntityGetDiffuse : Retrieves the color of the line (RGBA)
 
int SO3LineEntitySetDiffuse (mmachine m)
 SO3LineEntitySetDiffuse : Set the color of the line (RGBA)
 
int SO3LineEntityGetPoint (mmachine m)
 SO3LineEntityGetPoint : Retrieves the position of an existing point of the line.
 
int SO3LineEntitySetPoint (mmachine m)
 SO3LineEntitySetPoint : Sets the position of an existing point of the line.
 
int SO3LineEntityAddPoint (mmachine m)
 SO3LineEntityAddPoint : Add a new point on the line, after the indicated position.
 
int SO3LineEntityRemovePoint (mmachine m)
 SO3LineEntityRemovePoint : Removes an existing point on the line, at the indicated position.
 
int SO3LineEntityGetNumberOfPoints (mmachine m)
 SO3LineEntityGetNumberOfPoints : Retrieves the numbers of points composing the line.
 
int SO3LineEntityGetPoints (mmachine m)
 SO3LineEntityGetPoints : Retrieves the list of points positions.
 
int SO3LineEntitySetPoints (mmachine m)
 SO3LineEntitySetPoints : Set all the points of the line in a single call.
 
int SO3LineEntityClearPoints (mmachine m)
 SO3LineEntityClearPoints : Clear all the points of the line.
 
int SO3LineEntitySetDashed (mmachine m)
 SO3LineEntitySetDashed : Change the drawing mode of the line.
 
int SO3LineEntityGetDashed (mmachine m)
 SO3LineEntityGetDashed : Get the drawing mode of the line.
 
int SCOLloadLineEntity (mmachine m, cbmachine w)
 Load the SO3Engine LineEntity function.
 
int SCOLfreeLineEntity ()
 free the SO3Engine LineEntity function
 

Variables

NativeDefinition natSO3Line []
 

Function Documentation

◆ SCOLfreeLineEntity()

int SCOLfreeLineEntity ( )

free the SO3Engine LineEntity function

Parameters
m: The VM

Definition at line 1124 of file SCOLLineEntity.cpp.

◆ SCOLloadLineEntity()

int SCOLloadLineEntity ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine LineEntity function.

Parameters
m: The VM
w: The Callback VM

Definition at line 1115 of file SCOLLineEntity.cpp.

Variable Documentation

◆ natSO3Line

NativeDefinition natSO3Line[]
Initial value:
= {
{ "SO3LineEntityCreate", 4, "fun [SO3_SCENE S [[F F F] r1] I] SO3_OBJECT", SO3LineEntityCreate },
{ "SO3LineEntityCreateDashed", 4, "fun [SO3_SCENE S [[F F F] r1] I] SO3_OBJECT", SO3LineEntityCreateDashed },
{ "SO3LineEntityCreateEx", 5, "fun [SO3_SCENE S [[F F F] r1] I I] SO3_OBJECT", SO3LineEntityCreateEx },
{ "SO3LineEntityCreateDashedEx", 5, "fun [SO3_SCENE S [[F F F] r1] I I] SO3_OBJECT", SO3LineEntityCreateDashedEx },
{ "SO3LineEntityGetDiffuse", 1, "fun [SO3_OBJECT] I", SO3LineEntityGetDiffuse },
{ "SO3LineEntitySetDiffuse", 2, "fun [SO3_OBJECT I] I", SO3LineEntitySetDiffuse },
{ "SO3LineEntityGetPoint", 2, "fun [SO3_OBJECT I] [F F F]", SO3LineEntityGetPoint },
{ "SO3LineEntitySetPoint", 3, "fun [SO3_OBJECT I [F F F]] I", SO3LineEntitySetPoint },
{ "SO3LineEntityAddPoint", 3, "fun [SO3_OBJECT I [F F F]] I", SO3LineEntityAddPoint },
{ "SO3LineEntityRemovePoint", 2, "fun [SO3_OBJECT I] I", SO3LineEntityRemovePoint },
{ "SO3LineEntityGetNumberOfPoints", 1, "fun [SO3_OBJECT] I", SO3LineEntityGetNumberOfPoints },
{ "SO3LineEntityGetPoints", 1, "fun [SO3_OBJECT] [[F F F] r1]", SO3LineEntityGetPoints },
{ "SO3LineEntitySetPoints", 2, "fun [SO3_OBJECT [[F F F] r1]] I", SO3LineEntitySetPoints },
{ "SO3LineEntityClearPoints", 1, "fun [SO3_OBJECT] I", SO3LineEntityClearPoints },
{ "SO3LineEntitySetDashed", 2, "fun [SO3_OBJECT I] I", SO3LineEntitySetDashed },
{ "SO3LineEntityGetDashed", 1, "fun [SO3_OBJECT] I", SO3LineEntityGetDashed }
}
int SO3LineEntitySetPoints(mmachine m)
SO3LineEntitySetPoints : Set all the points of the line in a single call.
int SO3LineEntityGetPoints(mmachine m)
SO3LineEntityGetPoints : Retrieves the list of points positions.
int SO3LineEntityRemovePoint(mmachine m)
SO3LineEntityRemovePoint : Removes an existing point on the line, at the indicated position.
int SO3LineEntityCreateDashedEx(mmachine m)
SO3LineEntityCreateDashedEx : Create a new line entity.
int SO3LineEntitySetPoint(mmachine m)
SO3LineEntitySetPoint : Sets the position of an existing point of the line.
int SO3LineEntityGetNumberOfPoints(mmachine m)
SO3LineEntityGetNumberOfPoints : Retrieves the numbers of points composing the line.
int SO3LineEntityGetDashed(mmachine m)
SO3LineEntityGetDashed : Get the drawing mode of the line.
int SO3LineEntityClearPoints(mmachine m)
SO3LineEntityClearPoints : Clear all the points of the line.
int SO3LineEntityGetDiffuse(mmachine m)
SO3LineEntityGetDiffuse : Retrieves the color of the line (RGBA)
int SO3LineEntitySetDashed(mmachine m)
SO3LineEntitySetDashed : Change the drawing mode of the line.
int SO3LineEntityCreate(mmachine m)
main include
int SO3LineEntityAddPoint(mmachine m)
SO3LineEntityAddPoint : Add a new point on the line, after the indicated position.
int SO3LineEntitySetDiffuse(mmachine m)
SO3LineEntitySetDiffuse : Set the color of the line (RGBA)
int SO3LineEntityCreateDashed(mmachine m)
SO3LineEntityCreateDashed : Create a new line entity.
int SO3LineEntityCreateEx(mmachine m)
SO3LineEntityCreateEx : Create a new line entity.
int SO3LineEntityGetPoint(mmachine m)
SO3LineEntityGetPoint : Retrieves the position of an existing point of the line.

Definition at line 1090 of file SCOLLineEntity.cpp.