Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
AngelOgre_MaterialPtr.h
Go to the documentation of this file.
1
2namespace AngelOgre { // Dummy namespace, just to distinguish AngelScript from C++
3
18 {
19 public:
20
23
25 MaterialPtr(const MaterialPtr&in other);
26
28
30 bool isNull();
31
33 TechniqueArray@ getTechniques();
34
36 string getName();
37
42
44 void removeTechnique(uint16 index);
45 };
46
49
50} // namespace AngelOgre (dummy, just to distinguish AngelScript from C++)
51
A shared pointer to a material.
string getName()
Name of the material.
MaterialPtr()
Creates an empty (null) pointer.
bool isNull()
Returns true if the pointer doesn't point to a material.
Technique createTechnique()
Creates a new, empty technique.
TechniqueArray getTechniques()
Returns a read-only list of the material's techniques.
MaterialPtr(const MaterialPtr &in other)
Creates a copy pointing to the same material.
MaterialPtr & opAssign(const MaterialPtr &in other)
void removeTechnique(uint16 index)
Removes the technique at the given index.
One way of rendering a material; a material may have several (e.g.
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...