SO3Engine
|
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. | |
Scol functions definition
int SO3LineEntityAddPoint | ( | mmachine | m | ) |
SO3LineEntityAddPoint : Add a new point on the line, after the indicated position.
Prototype: fun [SO3_OBJECT I [F F F]] I
SO3_OBJECT | : target line entity |
I | : index of the point (starting to 0). Last point if NIL. |
[F | F F] : the position of the point |
Definition at line 623 of file SCOLLineEntity.cpp.
int SO3LineEntityClearPoints | ( | mmachine | m | ) |
SO3LineEntityClearPoints : Clear all the points of the line.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : target line entity |
Definition at line 946 of file SCOLLineEntity.cpp.
int SO3LineEntityCreate | ( | mmachine | m | ) |
main include
SO3LineEntityCreate : Create a new line entity
Prototype: fun [SO3_SCENE S [[F F F] r1] I] SO3_OBJECT
SO3_SCENE | : target scene |
S | : given name for the new line entity |
[[F | F F] r1] : list of points, can be NIL |
I | : line color (RGBA), can be NIL, in which case default "white" color will be use. |
Definition at line 53 of file SCOLLineEntity.cpp.
int SO3LineEntityCreateDashed | ( | mmachine | m | ) |
SO3LineEntityCreateDashed : Create a new line entity.
Prototype: fun [SO3_SCENE S [[F F F] r1] I] SO3_OBJECT
SO3_SCENE | : target scene |
S | : given name for the new line entity |
[[F | F F] r1] : list of points, can be NIL |
I | : line color (RGBA), can be NIL, in which case default "white" color will be use. |
Definition at line 135 of file SCOLLineEntity.cpp.
int SO3LineEntityCreateDashedEx | ( | mmachine | m | ) |
SO3LineEntityCreateDashedEx : Create a new line entity.
Prototype: fun [SO3_SCENE S [[F F F] r1] I I] SO3_OBJECT
SO3_SCENE | : target scene |
S | : given name for the new line entity |
[[F | F F] r1] : list of points, can be NIL |
I | : line color (RGBA), can be NIL, in which case default "white" color will be use. |
I | : depth check off |
Definition at line 307 of file SCOLLineEntity.cpp.
int SO3LineEntityCreateEx | ( | mmachine | m | ) |
SO3LineEntityCreateEx : Create a new line entity.
Prototype: fun [SO3_SCENE S [[F F F] r1] I I] SO3_OBJECT
SO3_SCENE | : target scene |
S | : given name for the new line entity |
[[F | F F] r1] : list of points, can be NIL |
I | : line color (RGBA), can be NIL, in which case default "white" color will be use. |
I | : depth check off |
Definition at line 218 of file SCOLLineEntity.cpp.
int SO3LineEntityGetDashed | ( | mmachine | m | ) |
SO3LineEntityGetDashed : Get the drawing mode of the line.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : target line entity |
Definition at line 1050 of file SCOLLineEntity.cpp.
int SO3LineEntityGetDiffuse | ( | mmachine | m | ) |
SO3LineEntityGetDiffuse : Retrieves the color of the line (RGBA)
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : target line object |
Definition at line 391 of file SCOLLineEntity.cpp.
int SO3LineEntityGetNumberOfPoints | ( | mmachine | m | ) |
SO3LineEntityGetNumberOfPoints : Retrieves the numbers of points composing the line.
Prototype: fun [SO3_OBJECT] I
SO3_OBJECT | : target line entity |
Definition at line 747 of file SCOLLineEntity.cpp.
int SO3LineEntityGetPoint | ( | mmachine | m | ) |
SO3LineEntityGetPoint : Retrieves the position of an existing point of the line.
Prototype: fun [SO3_OBJECT I] [F F F]
SO3_OBJECT | : target line entity |
I | : index of the point (starting to 0). Last point if NIL. |
Definition at line 485 of file SCOLLineEntity.cpp.
int SO3LineEntityGetPoints | ( | mmachine | m | ) |
SO3LineEntityGetPoints : Retrieves the list of points positions.
Prototype: fun [SO3_OBJECT] [[F F F] r1]
SO3_OBJECT | : target line entity |
Definition at line 795 of file SCOLLineEntity.cpp.
int SO3LineEntityRemovePoint | ( | mmachine | m | ) |
SO3LineEntityRemovePoint : Removes an existing point on the line, at the indicated position.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : target line entity |
I | : index of the point (starting to 0). Last point if NIL. |
Definition at line 686 of file SCOLLineEntity.cpp.
int SO3LineEntitySetDashed | ( | mmachine | m | ) |
SO3LineEntitySetDashed : Change the drawing mode of the line.
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : target line entity |
I | : 0 for normal line, 1 for dashed line |
Definition at line 996 of file SCOLLineEntity.cpp.
int SO3LineEntitySetDiffuse | ( | mmachine | m | ) |
SO3LineEntitySetDiffuse : Set the color of the line (RGBA)
Prototype: fun [SO3_OBJECT I] I
SO3_OBJECT | : target line entity |
I | : given color (rgba) |
Definition at line 439 of file SCOLLineEntity.cpp.
int SO3LineEntitySetPoint | ( | mmachine | m | ) |
SO3LineEntitySetPoint : Sets the position of an existing point of the line.
Prototype: fun [SO3_OBJECT I [F F F]] I
SO3_OBJECT | : target line entity |
I | : index of the point (starting to 0). Last point if NIL. |
[F | F F] : the position of the point |
Definition at line 557 of file SCOLLineEntity.cpp.
int SO3LineEntitySetPoints | ( | mmachine | m | ) |
SO3LineEntitySetPoints : Set all the points of the line in a single call.
Prototype: fun [SO3_OBJECT [[F F F] r1]] I
SO3_OBJECT | : target line entity |
[[F | F F] r1]] : points positions. Clear the line if NIL. |
Definition at line 871 of file SCOLLineEntity.cpp.