|
| | DECLARE_ASSET (StaticMesh, Asset) |
| |
| | StaticMesh () |
| |
| | ~StaticMesh () |
| |
| void | CreateRaw (uint32_t numVertices, Vertex *vertices, uint32_t numIndices, IndexType *indices) |
| |
| void | CreateRawColor (uint32_t numVertices, VertexColor *vertices, uint32_t numIndices, IndexType *indices) |
| |
| StaticMeshResource * | GetResource () |
| |
| virtual void | LoadStream (Stream &stream, Platform platform) override |
| |
| virtual void | SaveStream (Stream &stream, Platform platform) override |
| |
| virtual void | Create () override |
| |
| virtual void | Destroy () override |
| |
| virtual bool | Import (const std::string &path, ImportOptions *options) override |
| |
| virtual void | GatherProperties (std::vector< Property > &outProps) override |
| |
| virtual glm::vec4 | GetTypeColor () override |
| |
| virtual const char * | GetTypeName () override |
| |
| virtual const char * | GetTypeImportExt () override |
| |
| class Material * | GetMaterial () |
| |
| void | SetMaterial (class Material *newMaterial) |
| |
| uint32_t | GetNumIndices () const |
| |
| uint32_t | GetNumFaces () const |
| |
| uint32_t | GetNumVertices () const |
| |
| bool | HasVertexColor () const |
| |
| Vertex * | GetVertices () |
| |
| VertexColor * | GetColorVertices () |
| |
| IndexType * | GetIndices () |
| |
| Bounds | GetBounds () const |
| |
| btBvhTriangleMeshShape * | GetTriangleCollisionShape () |
| |
| btCollisionShape * | GetCollisionShape () |
| |
| void | SetCollisionShape (btCollisionShape *shape) |
| |
| void | SetCollisionShapes (uint32_t numCollisionShapes, btCollisionShape **collisionShapes, btTransform *transforms, bool compound) |
| |
| void | SetGenerateTriangleCollisionMesh (bool generate) |
| |
| bool | IsTriangleCollisionMeshEnabled () const |
| |
| uint32_t | GetVertexSize () const |
| |
| | DECLARE_FACTORY_MANAGER (Asset) |
| |
| | DECLARE_FACTORY (Asset, Asset) |
| |
| | DECLARE_OBJECT (Asset, Object) |
| |
| | Asset () |
| |
| virtual | ~Asset () |
| |
| virtual void | Copy (Asset *srcAsset) |
| |
| const std::string & | GetName () const |
| |
| bool | IsLoaded () const |
| |
| bool | IsRefCounted () const |
| |
| int32_t | GetRefCount () const |
| |
| bool | IsEmbedded () const |
| |
| void | SetEmbedded (bool embed) |
| |
| bool | IsEngineAsset () const |
| |
| void | SetEngineAsset (bool engineAsset) |
| |
| void | SetName (const std::string &name) |
| |
| void | IncrementRefCount () |
| |
| void | DecrementRefCount () |
| |
| void | LoadFile (const char *path, AsyncLoadRequest *request=nullptr) |
| |
| void | LoadEmbedded (const EmbeddedFile *embeddedAsset, AsyncLoadRequest *request=nullptr) |
| |
| void | SaveFile (const char *path, Platform platform) |
| |
| virtual bool | ShouldSnapshotForPie () const |
| |
| bool | IsTransient () const |
| |
| void | SetTransient (bool transient) |
| |
| uint64_t | GetUuid () const |
| |
| void | SetUuid (uint64_t uuid) |
| |
| void | EnsureUuid () |
| |
| void | WriteHeader (Stream &stream) |
| |
| virtual | ~Object ()=default |
| |
| virtual const char * | RuntimeName () const =0 |
| |
| virtual const char * | RuntimeParentName () const =0 |
| |
| virtual RuntimeId | InstanceRuntimeId () const =0 |
| |
| virtual Object * | QueryInterface (RuntimeId id) const |
| |
| virtual bool | Is (RuntimeId id) const |
| |
| virtual bool | Is (const char *name) const |
| |
| virtual bool | DrawCustomProperty (Property &prop) |
| |
| template<typename T > |
| T * | As () const |
| |
| virtual bool | Equals (const Object *rhs) const |
| |