69 mesh moveForward(
float speed=1,
float xRotation=0,
float yRotation=0,
float zRotation=0);
266 multiReturn<float, float, float>
getScale();
360 string getObject(
bool includeChildren=
true);
401 bool setID(
string ID);
mesh doCommands(string cmd)
creates the mesh from an object like a server command.
mesh getParent()
get the parent mesh.
float getRx()
gets the X rotational axis of the mesh.
mesh setScale(float X=-1, float Y=-1, float Z=-1)
sets the X, Y, and Z scale.
mesh removeProperty(string property)
removes a property from the object.
string[] getProperties()
gets all properties from the object.
mesh removeFromClients()
removes the mesh from all online clients.
bool isVisible()
gets the visibility of the mesh.
mesh sendToClients(bool removeOthers=false, string key="", string keyAns="")
sends the mesh to all connected clients who meet the criteria.
mesh hide()
hide the mesh.
float getY()
gets the Y axis of the mesh.
mesh setColor(int r, int g, int b, int a=255)
sets the color of the mesh.
mesh setLighting(bool lit=true)
sets whether the mesh is fully lit or needs a light source.
string getObject(bool includeChildren=true)
get the mesh as a total object.
mesh setZBuffer(bool ZBuffer=true)
sets whether the mesh has a ZBuffer or not.
mesh show()
shows the mesh.
mesh clearProperties()
removes all properties from the object. See removeProperty()
float getRy()
gets the Y rotational axis of the mesh.
mesh setY(float Y)
sets the Y axis of the mesh.
mesh moveForward(float speed=1, float xRotation=0, float yRotation=0, float zRotation=0)
moves the mesh forward or toward a direction.
float getZ()
gets the Z axis of the mesh.
mesh addMesh(mesh *m)
add a child mesh.
mesh setZ(float Z)
sets the Z axis of the mesh.
mesh setVisible(bool visible=true)
sets the visibility of the mesh.
mesh setRy(float Ry)
sets the Y rotation of the mesh.
mesh setRz(float Rz)
sets the Z rotation of the mesh.
mesh setRotation(float Rx, float Ry, float Rz)
sets the X, Y, and Z rotation of the mesh.
mesh setX(float X)
sets the X axis of the mesh.
mesh setProperty(string property, string value)
sets a property of the mesh.
mesh remove()
removes the mesh.
float getX()
gets the X axis of the mesh.
multiReturn< float, float, float > getScale()
gets the X, Y and Z scale.
multiReturn< float, float, float > getRotation()
gets the rotation of the mesh.
string getID()
get the ID of the mesh.
string getType()
get the type of this mesh.
string getProperty(string property)
gets the value of a set property.
bool setID(string ID)
set the ID of the mesh.
mesh setPosition(float X, float Y, float Z)
sets the position of the mesh.
mesh[] getChildren()
gets a list of added children.
a 3D object.
Definition: mesh.h:7
multiReturn< float, float, float > getPosition()
gets the position of the mesh.
mesh setRx(float Rx)
sets the X rotation of the mesh.