예제 #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);