Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
AngelOgre_MeshPtr.h
Go to the documentation of this file.
1
2namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3
17 class MeshPtr
18 {
19 public:
20
23
25 MeshPtr(const MeshPtr&in other);
26
27 MeshPtr& opAssign(const MeshPtr&in other);
28
30 bool isNull();
31
33 SubMeshArray@ getSubMeshes();
34
36 string getName();
37
39 SubMesh@ createSubMesh(const string&in name);
40
43 void destroySubMesh(const string&in name);
44 };
45
48
49} // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
50
A shared pointer to a mesh resource.
bool isNull()
Returns true if the pointer doesn't point to a mesh.
SubMeshArray getSubMeshes()
Returns a read-only list of the mesh's submeshes.
void destroySubMesh(const string &in name)
Destroys the submesh with the given name.
MeshPtr & opAssign(const MeshPtr &in other)
MeshPtr()
Creates an empty (null) pointer.
SubMesh createSubMesh(const string &in name)
Creates a new, empty submesh with the given name.
MeshPtr(const MeshPtr &in other)
Creates a copy pointing to the same mesh.
string getName()
Name of the mesh resource.
A part of a mesh which uses a single material.
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...