Esempio n. 1
0
 public void CullBox(float x, float y, float z, float width, float height, float depth) => Blitz3D.MeshCullBox(this, x, y, z, width, height, depth);
Esempio n. 2
0
 public void Unlock() => Blitz3D.UnlockBuffer(this);
Esempio n. 3
0
 public void Range(float nr, float fr) => Blitz3D.CameraRange(this, nr, fr);
Esempio n. 4
0
 public bool Load(string bmpFile) => Blitz3D.LoadBuffer(this, bmpFile);
Esempio n. 5
0
 public void Dirty() => Blitz3D.BufferDirty(this);
Esempio n. 6
0
 public void SetAlpha(float alpha) => Blitz3D.EntityAlpha(this, alpha);
Esempio n. 7
0
 public void FX(int fx) => Blitz3D.EntityFX(this, fx);
Esempio n. 8
0
 public void Alpha(float alpha) => Blitz3D.BrushAlpha(this, alpha);
Esempio n. 9
0
 public void Texture(Texture texture, int frame = 0, int index = 0) => Blitz3D.BrushTexture(this, texture, frame, index);
Esempio n. 10
0
 public Brush(string file, int textureFlags = 1, float uScale = 1, float vScale = 1) : base(Blitz3D.LoadBrush(file, textureFlags, uScale, vScale))
 {
 }
Esempio n. 11
0
 public void Free() => Blitz3D.FreeBrush(this);
Esempio n. 12
0
 public Brush(float red = 255, float green = 255, float blue = 255) : base(Blitz3D.CreateBrush(red, green, blue))
 {
 }
Esempio n. 13
0
 public Sphere(int segments = 8, Entity parent = null) : base(Blitz3D.CreateSphere(segments, parent))
 {
 }
Esempio n. 14
0
 public Surface FindSurface(Brush brush) => Blitz3D.FindSurface(this, brush);
Esempio n. 15
0
 public void SetScale(float xScale, float yScale, float zScale, bool global = false) => Blitz3D.ScaleEntity(this, xScale, yScale, zScale, global);
Esempio n. 16
0
 public void GetTexture(int index = 0) => Blitz3D.GetBrushTexture(this, index);
Esempio n. 17
0
 public void SetColor(float red, float green, float blue) => Blitz3D.EntityColor(this, red, green, blue);
Esempio n. 18
0
 public Cylinder(int segments = 8, bool solid = true, Entity parent = null) : base(Blitz3D.CreateCylinder(segments, solid, parent))
 {
 }
Esempio n. 19
0
 public void SetTexture(Texture texture, int frame = 0, int index = 0) => Blitz3D.EntityTexture(this, texture, frame, index);
Esempio n. 20
0
 public Entity Clone(Entity parent = null) => Blitz3D.CopyEntity(this, parent);
Esempio n. 21
0
 public void Order(int order) => Blitz3D.EntityOrder(this, order);
Esempio n. 22
0
 public float Distance(Entity that) => Blitz3D.EntityDistance(this, that);
Esempio n. 23
0
 public bool Save(string bmpFile) => Blitz3D.SaveBuffer(this, bmpFile);
Esempio n. 24
0
 public void Move(float x, float y, float z) => Blitz3D.MoveEntity(this, x, y, z);
Esempio n. 25
0
 public void Lock() => Blitz3D.LockBuffer(this);
Esempio n. 26
0
 public void Turn(float pitch, float yaw, float roll, bool global           = false) => Blitz3D.TurnEntity(this, pitch, yaw, roll, global);
Esempio n. 27
0
 public void Zoom(float zoom) => Blitz3D.CameraZoom(this, zoom);
Esempio n. 28
0
 public void Translate(float x, float y, float z, bool global               = false) => Blitz3D.TranslateEntity(this, x, y, z, global);
Esempio n. 29
0
 public Camera(Entity parent = null) : base(Blitz3D.CreateCamera(parent))
 {
 }
Esempio n. 30
0
 public Surface GetSurface(int surfaceIndex) => Blitz3D.GetSurface(this, surfaceIndex);