diff options
| author | Bryan Galdrikian <[email protected]> | 2017-10-24 15:25:02 -0700 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-10-24 15:25:02 -0700 |
| commit | b0c11962f6012430da3bcaa2727288046b33d648 (patch) | |
| tree | cf13338fa4fd7072badf64f751f94abeeb437003 /sdk/extensions/physx/include/NvBlastExtPxFamily.h | |
| parent | linux build fix - all configs (diff) | |
| download | blast-b0c11962f6012430da3bcaa2727288046b33d648.tar.xz blast-b0c11962f6012430da3bcaa2727288046b33d648.zip | |
Changes for 1.1.1
See README.md
Diffstat (limited to 'sdk/extensions/physx/include/NvBlastExtPxFamily.h')
| -rw-r--r-- | sdk/extensions/physx/include/NvBlastExtPxFamily.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sdk/extensions/physx/include/NvBlastExtPxFamily.h b/sdk/extensions/physx/include/NvBlastExtPxFamily.h index ae48769..83b50b3 100644 --- a/sdk/extensions/physx/include/NvBlastExtPxFamily.h +++ b/sdk/extensions/physx/include/NvBlastExtPxFamily.h @@ -41,6 +41,8 @@ class PxScene; class PxTransform; } +struct NvBlastExtMaterial; + namespace Nv { @@ -163,7 +165,7 @@ public: \return a pointer to the (const) ExtPxAsset object. */ - virtual const ExtPxAsset& getPxAsset() const = 0; + virtual ExtPxAsset& getPxAsset() const = 0; /** Set the default material to be used for PxRigidDynamic creation. @@ -203,6 +205,20 @@ public: virtual const ExtPxActorDescTemplate* getPxActorDesc() const = 0; /** + The default material associated with this actor family. + + \return a pointer to the default material. + */ + virtual const NvBlastExtMaterial* getMaterial() const = 0; + + /** + Set the default material associated with this actor family. + + \param[in] material The material to be the new default. + */ + virtual void setMaterial(const NvBlastExtMaterial* material) = 0; + + /** Add a user implementation of ExtPxListener to this family's list of listeners. \param[in] listener The event listener to add. |