浏览代码

Adds the ability to the ShapeAsset to get the resource of the shape.

Areloch 9 年之前
父节点
当前提交
1299b527f1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Engine/source/T3D/assets/ShapeAsset.h

+ 2 - 0
Engine/source/T3D/assets/ShapeAsset.h

@@ -76,6 +76,8 @@ public:
 
    TSShape* getShape() { return mShape; }
 
+   Resource<TSShape> getShapeResource() { return mShape; }
+
 protected:
    virtual void            onAssetRefresh(void) {}
 };