![]() |
|
PxMultiActor Class Reference
[Physics]
Represents a destructible physical object simulated using PhysX. More...
Inheritance diagram for PxMultiActor:

Public Member Functions | |
void | listMeshes (enum Hidden/Shown/All) |
Lists all meshes of the provided type in the console window. | |
void | setAllHidden (bool) |
Hides or unhides all meshes contained in the PxMultiActor. | |
void | setBroken (bool) |
Sets the PxMultiActor to a broken or unbroken state. | |
void | setMeshHidden (string meshName, bool isHidden) |
Prevents the provided mesh from being rendered. | |
Public Attributes | |
Debug | |
bool | broken |
| |
bool | debugRender |
| |
Static Public Attributes | |
static bool | isRenderable |
Disables rendering of all instances of this type. | |
static bool | isSelectable |
Disables selection of all instances of this type. |
Detailed Description
Represents a destructible physical object simulated using PhysX.
Usually it is prefered to use PhysicsShape and not PxMultiActor because it is not PhysX specific and much easier to setup.
- See also:
- PxMultiActorData.
Member Function Documentation
void PxMultiActor::listMeshes | ( | enum Hidden/Shown/ | All | ) |
Lists all meshes of the provided type in the console window.
- Parameters:
-
All Lists all of the PxMultiActor's meshes. Hidden Lists all of the PxMultiActor's hidden meshes. Shown Lists all of the PxMultiActor's visible meshes.
void PxMultiActor::setAllHidden | ( | bool | ) |
Hides or unhides all meshes contained in the PxMultiActor.
Hidden meshes will not be rendered.
void PxMultiActor::setBroken | ( | bool | ) |
Sets the PxMultiActor to a broken or unbroken state.
void PxMultiActor::setMeshHidden | ( | string | meshName, | |
bool | isHidden | |||
) |
Prevents the provided mesh from being rendered.
Member Data Documentation
bool PxMultiActor::broken |
Copyright © GarageGames, LLC. All Rights Reserved.