|
static void | GetBoundsPoints (vector min, vector max, out vector points[19]) |
|
static Shape | CreateBounds (vector min, vector max, int color, ShapeFlags flags) |
|
static Resource | CreateAreaMesh (array< vector > positions, float height, string material, bool strechMaterial) |
| Generate area mesh.
|
|
static void | DrawCircle (vector transform[4], float radius, int colorOutline, int colorPlane, ShapeFlags shapeFlags) |
| Draw debug circle with outline using specified colors and shape flags Circle stems from origin of the transform and rotating around the up vector Circle has fixed section count of 36.
|
|
◆ CreateAreaMesh()
static Resource SCR_Shape.CreateAreaMesh |
( |
array< vector > | positions, |
|
|
float | height, |
|
|
string | material, |
|
|
bool | strechMaterial ) |
|
static |
Generate area mesh.
- Parameters
-
positions | Border segment positions |
height | Border height |
material | Material path |
strechMaterial | True to stretch the material along the area border instead of mapping it on each segment. |
- Returns
- Mesh to be mapped on an entity
◆ CreateBounds()
static Shape SCR_Shape.CreateBounds |
( |
vector | min, |
|
|
vector | max, |
|
|
int | color, |
|
|
ShapeFlags | flags ) |
|
static |
◆ DrawCircle()
static void SCR_Shape.DrawCircle |
( |
vector | transform[4], |
|
|
float | radius, |
|
|
int | colorOutline, |
|
|
int | colorPlane, |
|
|
ShapeFlags | shapeFlags ) |
|
static |
Draw debug circle with outline using specified colors and shape flags Circle stems from origin of the transform and rotating around the up vector Circle has fixed section count of 36.
- Parameters
-
transform | Orientation matrix of the circle - side, normal, direction, center position |
radius | Radius of the circles [m] |
colorOutline | color of the outline |
colorPlane | color of the circle plane |
shapeFlags | flags for rendering the basic shape |
◆ GetBoundsPoints()
static void SCR_Shape.GetBoundsPoints |
( |
vector | min, |
|
|
vector | max, |
|
|
out vector | points[19] ) |
|
static |
The documentation for this interface was generated from the following file: