DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
PhysicsGeomDef Class Reference

Private Member Functions

void PhysicsGeomDef (string name, dGeom geom, string materialName, int layerMask)
 
void PhysicsGeomDef (string name, dGeom geom, string materialName, int layerMask)
 

Private Attributes

string Name
 Name of the element.
 
dGeom 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() [1/2]

void PhysicsGeomDef ( string  name,
dGeom  geom,
string  materialName,
int  layerMask 
)
inlineprivate

References Geometry, LayerMask, MaterialName, Name, and name.

◆ PhysicsGeomDef() [2/2]

void PhysicsGeomDef ( string  name,
dGeom  geom,
string  materialName,
int  layerMask 
)
inlineprivate

Field Documentation

◆ Frame

vector Frame = {Vector(1, 0, 0), Vector(0, 1, 0), Vector(0, 0, 1), Vector(0, 0, 0)}
private

Local transformation.

◆ Geometry

dGeom Geometry
private

Physics geometry shape.

Referenced by PhysicsGeomDef().

◆ LayerMask

int LayerMask
private

Bit mask of layers geometry belongs to.

Referenced by PhysicsGeomDef().

◆ MaterialName

string MaterialName
private

Material resource name.

Referenced by PhysicsGeomDef().

◆ Name

string Name
private

Name of the element.

Referenced by PhysicsGeomDef().

◆ ParentNode

int ParentNode = -1
private

Bone the element can be attached to.


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