proto private void ~Shape() | don't call destructor directly. Use Destroy() instead | |
proto static native Shape Create(ShapeType type, int color, ShapeFlags flags, vector p1, vector p2) | | |
static Shape CreateArrow(vector from, vector to, float size, int color, ShapeFlags flags) | | more… |
static Shape CreateBridgeArrow(vector from, vector to, float size, int color, ShapeFlags flags) | | more… |
proto static native Shape CreateCylinder(int color, ShapeFlags flags, vector origin, float radius, float length) | | |
proto static native Shape CreateFrustum(float horizontalAngle, float verticalAngle, float length, int color, ShapeFlags flags) | | |
proto static native Shape CreateLines(int color, ShapeFlags flags, vector p[], int num) | | |
static void CreateMatrix(vector mat[4], float axisLength = 0.05, float arrowSize = 0.0) | | more… |
proto static native Shape CreateSphere(int color, ShapeFlags flags, vector origin, float radius) | | |
proto static native Shape CreateTris(int color, ShapeFlags flags, vector p[], int num) | | |
proto native void Destroy() | | |
proto native void GetMatrix(out vector mat[4]) | | |
proto native void SetColor(int color) | | |
proto native void SetDirection(vector direction) | | |
proto native void SetFlags(ShapeFlags flags) | | |
proto native void SetMatrix(vector mat[4]) | | |
proto native void SetPosition(vector position) | | |