|
| proto external void | Destroy () |
| | Destroys geometry.
|
| |
| proto external void | Destroy () |
| | Destroys geometry.
|
| |
|
| static proto PhysicsGeom | CreateBox (vector size) |
| |
| static proto PhysicsGeom | CreateSphere (float radius) |
| |
| static proto PhysicsGeom | CreateCapsule (float radius, float height) |
| |
| static proto PhysicsGeom | CreateCylinder (float radius, float height) |
| |
| static proto PhysicsGeom | CreateTriMesh (vector vertices[], int indices[], int numVertices, int numIndices) |
| |
| static proto PhysicsGeom | CreateBox (vector size) |
| |
| static proto PhysicsGeom | CreateSphere (float radius) |
| |
| static proto PhysicsGeom | CreateCapsule (float radius, float height) |
| |
| static proto PhysicsGeom | CreateCylinder (float radius, float height) |
| |
| static proto PhysicsGeom | CreateTriMesh (vector vertices[], int indices[], int numVertices, int numIndices) |
| |
◆ CreateBox() [1/2]
Creates box geometry
Definition PhysicsGeom.c:12
static proto PhysicsGeom CreateBox(vector size)
- Parameters
-
| size | Dimensions of the box |
◆ CreateBox() [2/2]
Creates box geometry
- Parameters
-
| size | Dimensions of the box |
◆ CreateCapsule() [1/2]
Creates capsule geometry
static proto PhysicsGeom CreateCapsule(float radius, float height)
- Parameters
-
| radius | Radius of the cylindrical/hemispherical part |
| height | Height of the cylindrical part |
◆ CreateCapsule() [2/2]
Creates capsule geometry
- Parameters
-
| radius | Radius of the cylindrical/hemispherical part |
| height | Height of the cylindrical part |
◆ CreateCylinder() [1/2]
Creates cylinder geometry
static proto PhysicsGeom CreateCylinder(float radius, float height)
- Parameters
-
| radius | Radius of the cylinder |
| height | Height of the cylinder |
◆ CreateCylinder() [2/2]
Creates cylinder geometry
- Parameters
-
| radius | Radius of the cylinder |
| height | Height of the cylinder |
◆ CreateSphere() [1/2]
Creates sphere geometry
static proto PhysicsGeom CreateSphere(float radius)
- Parameters
-
| radius | Radius of the sphere |
◆ CreateSphere() [2/2]
Creates sphere geometry
- Parameters
-
| radius | Radius of the sphere |
◆ CreateTriMesh() [1/2]
Creates tri-mesh geometry
const int numVerts = 4;
const int numInds = 12;
vector verts[numVerts] = {
"0 0 0",
"1 0 0",
"0 0 1",
"0 1 0" };
int inds[numInds] = { 0, 1, 2, 0, 3, 1, 3, 2, 1, 0, 2, 3 };
static proto PhysicsGeom CreateTriMesh(vector vertices[], int indices[], int numVertices, int numIndices)
Definition EnConvert.c:119
- Parameters
-
| vertices | Set of vertices representing the geometry |
| indices | Set of indices representing the geometry |
| numVertices | Number of vertices |
| numIndices | Number of indices |
◆ CreateTriMesh() [2/2]
Creates tri-mesh geometry
const int numVerts = 4;
const int numInds = 12;
vector verts[numVerts] = {
"0 0 0",
"1 0 0",
"0 0 1",
"0 1 0" };
int inds[numInds] = { 0, 1, 2, 0, 3, 1, 3, 2, 1, 0, 2, 3 };
- Parameters
-
| vertices | Set of vertices representing the geometry |
| indices | Set of indices representing the geometry |
| numVertices | Number of vertices |
| numIndices | Number of indices |
◆ Destroy() [1/2]
| proto external void Destroy |
( |
| ) |
|
|
private |
◆ Destroy() [2/2]
| proto external void Destroy |
( |
| ) |
|
|
private |
The documentation for this class was generated from the following file: