The Body node class. More...

#include "murl_graph_body.h"

Inheritance diagram for Murl::Graph::Body:

Additional Inherited Members

- Public Types inherited from Murl::IFactoryObject< INode >
using ClassInfoArray = Array< const ClassInfo * >
 Definition of an array of ClassInfo objects.
 
- Public Member Functions inherited from Murl::IFactoryObject< INode >
 ~IFactoryObject () override
 The destructor.
 
virtual const ClassInfo * GetObjectClassInfo () const=0
 Get the object instance's class info, if present. More...
 
virtual void ResetObjectProperties ()=0
 Reset the object instance's properties to their default values.
 
- Static Public Member Functions inherited from Murl::IFactoryObject< INode >
static const PropertyInfoGetPropertyInfo ()
 Get the class' property info struct. More...
 
static const AttributeInfoGetAttributeInfo ()
 Get the class' attribute info struct. More...
 
static void ResetProperties (IFactoryObject< INode > *object)
 Reset an object instance's properties to their default values. More...
 

Detailed Description

The Body node class.

XML Elements

XML Graph Node Tag:

<Body>

XML Graph Node Attributes:

triggerGroups="0" [String]

A comma-separated list of collision trigger group indices. See Murl::Graph::IBody::SetTriggerGroupMask().

responseGroups="0..31" [String]

A comma-separated list of collision response group indices. See Murl::Graph::IBody::SetResponseGroupMask().

mass="1.0" [Real]

The body's mass. See Murl::Graph::IBody::SetMass()

inverseMass="1.0" [Real]

The body's inverse mass. See Murl::Graph::IBody::SetInverseMass().

dragCoefficient="0.0" [Real]

See Murl::Graph::IBody::SetDragCoefficient().

sizeX="1.0" [Real]

See Murl::Graph::IBody::SetSize().

sizeY="1.0" [Real]

See Murl::Graph::IBody::SetSize().

sizeZ="1.0" [Real]

See Murl::Graph::IBody::SetSize().

forceEffectEnabled="true" [Bool]

See Murl::Graph::IBody::SetForceEffectEnabled().

torqueEffectEnabled="true" [Bool]

See Murl::Graph::IBody::SetTorqueEffectEnabled().

collisionEffectEnabled="true" [Bool]

See Murl::Graph::IBody::SetCollisionEffectEnabled().

collisionReportingEnabled="false" [Bool]

See Murl::Graph::IBody::SetCollisionReportingEnabled().


The documentation for this class was generated from the following file:
  • murl_graph_body.h


Copyright © 2011-2024 Spraylight GmbH.