APEX Framework: nvidia::apex::DestructibleRTFractureParameters Struct Reference

NVIDIA APEX

nvidia::apex::DestructibleRTFractureParameters Struct Reference

#include <DestructibleAsset.h>

List of all members.

Classes

struct  FractureAttachment
struct  FractureGlass

Public Member Functions

PX_INLINE void setToDefault ()

Public Attributes

bool sheetFracture
uint32_t depthLimit
bool destroyIfAtDepthLimit
float minConvexSize
float impulseScale
struct
nvidia::apex::DestructibleRTFractureParameters::FractureGlass 
glass
 Instance of FractureGlass parameters.
struct
nvidia::apex::DestructibleRTFractureParameters::FractureAttachment 
attachment
 Instance of FractureAttachment parameters.

Detailed Description

Parameters for RT Fracture


Member Function Documentation

PX_INLINE void nvidia::apex::DestructibleRTFractureParameters::setToDefault ( )

Set default fracture parameters


Member Data Documentation

Number of times deep a chunk can be fractured. Can help limit the number of chunks produced by runtime fracture.

If true, destroy chunks when they hit their depth limit. If false, then chunks at their depth limit will not fracture but will have a force applied.

Scales impulse applied by a fracture.

Minimum Convex Size. Minimum size of convex produced by a fracture.

If true, align fracture pattern to largest face. If false, the fracture pattern will be aligned to the hit normal with each fracture.


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

Generated on Fri Dec 15 2017 13:58:38

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.