mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
Adds the ability to the ShapeAsset to get the resource of the shape.
This commit is contained in:
parent
58fb8d36ac
commit
1299b527f1
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ public:
|
|||
|
||||
TSShape* getShape() { return mShape; }
|
||||
|
||||
Resource<TSShape> getShapeResource() { return mShape; }
|
||||
|
||||
protected:
|
||||
virtual void onAssetRefresh(void) {}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue