示例#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);