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