AGX Dynamics  2.37.2.0
agx::RigidBody::MergeSplitProperties Class Reference

Data holder for merge-split properties. More...

#include <RigidBody.h>

Public Member Functions

 MergeSplitProperties ()
 Default constructor. More...
 
bool getEnableMerge () const
 
bool getEnableSplit () const
 
bool getMergeOnlyWithStatic () const
 
void setEnableMerge (bool flag)
 Enable merge. More...
 
void setEnableSplit (bool flag)
 Enable split. More...
 
void setMergeOnlyWithStatic (bool flag)
 Enable merge only with static. More...
 

Detailed Description

Data holder for merge-split properties.

Deprecated:
Instead we recommend using AMOR/MergeSplitHandler

Definition at line 1139 of file RigidBody.h.

Constructor & Destructor Documentation

◆ MergeSplitProperties()

agx::RigidBody::MergeSplitProperties::MergeSplitProperties ( )

Default constructor.

Merge enable: false, enable split: false, merge only with static: false.

Member Function Documentation

◆ getEnableMerge()

bool agx::RigidBody::MergeSplitProperties::getEnableMerge ( ) const
Returns
true if merge is enabled - otherwise false

Definition at line 1525 of file RigidBody.h.

◆ getEnableSplit()

bool agx::RigidBody::MergeSplitProperties::getEnableSplit ( ) const
Returns
true if split is enabled - otherwise false

Definition at line 1530 of file RigidBody.h.

◆ getMergeOnlyWithStatic()

bool agx::RigidBody::MergeSplitProperties::getMergeOnlyWithStatic ( ) const
Returns
true if merge only with static is enabled - otherwise false

Definition at line 1535 of file RigidBody.h.

◆ setEnableMerge()

void agx::RigidBody::MergeSplitProperties::setEnableMerge ( bool  flag)

Enable merge.

Default: false

Parameters
flag- true to enable merge, false to disable

◆ setEnableSplit()

void agx::RigidBody::MergeSplitProperties::setEnableSplit ( bool  flag)

Enable split.

Default: true

Parameters
flag- true to enable split, false to disable

◆ setMergeOnlyWithStatic()

void agx::RigidBody::MergeSplitProperties::setMergeOnlyWithStatic ( bool  flag)

Enable merge only with static.

Default: false

Parameters
flag- true to enable merge only with static, false to disable

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