Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
PhysicsGeomDef Interface Reference

Geometry element properties. More...

Inheritance diagram for PhysicsGeomDef:
[legend]

Public Member Functions

void PhysicsGeomDef (string name, PhysicsGeom geom, string materialName, int layerMask)
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Public Attributes

string Name
 Name of the element.
 
PhysicsGeom Geometry
 Physics geometry shape.
 
vector Frame [4] = {Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1), Vector(0, 0, 0)}
 Local transformation.
 
int ParentNode = -1
 Bone the element can be attached to.
 
string MaterialName
 Material resource name.
 
int LayerMask
 Bit mask of layers geometry belongs to.
 

Detailed Description

Geometry element properties.

Constructor & Destructor Documentation

◆ PhysicsGeomDef()

void PhysicsGeomDef.PhysicsGeomDef ( string  name,
PhysicsGeom  geom,
string  materialName,
int  layerMask 
)

Member Data Documentation

◆ Frame

vector PhysicsGeomDef.Frame[4] = {Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1), Vector(0, 0, 0)}

Local transformation.

◆ Geometry

PhysicsGeom PhysicsGeomDef.Geometry

Physics geometry shape.

◆ LayerMask

int PhysicsGeomDef.LayerMask

Bit mask of layers geometry belongs to.

◆ MaterialName

string PhysicsGeomDef.MaterialName

Material resource name.

◆ Name

string PhysicsGeomDef.Name

Name of the element.

◆ ParentNode

int PhysicsGeomDef.ParentNode = -1

Bone the element can be attached to.


The documentation for this interface was generated from the following file: