Exemplo n.º 1
0
 internal static extern void Texture_SetBorderColor(IntPtr handle, ref Urho.Color color);
Exemplo n.º 2
0
 internal static extern void DebugRenderer_AddQuad(IntPtr handle, ref Urho.Vector3 center, float width, float height, ref Urho.Color color, bool depthTest);
Exemplo n.º 3
0
Arquivo: Zone.cs Projeto: yrest/urho
 internal static extern void Zone_SetFogColor(IntPtr handle, ref Urho.Color color);
Exemplo n.º 4
0
 internal static extern void DebugRenderer_AddCircle(IntPtr handle, ref Urho.Vector3 center, ref Urho.Vector3 normal, float radius, ref Urho.Color color, int steps, bool depthTest);
Exemplo n.º 5
0
 internal static extern void DebugRenderer_AddCross(IntPtr handle, ref Urho.Vector3 center, float size, ref Urho.Color color, bool depthTest);
Exemplo n.º 6
0
 internal static extern void DebugRenderer_AddCylinder(IntPtr handle, ref Urho.Vector3 position, float radius, float height, ref Urho.Color color, bool depthTest);
Exemplo n.º 7
0
 internal static extern void DebugRenderer_AddTriangleMesh(IntPtr handle, void *vertexData, uint vertexSize, void *indexData, uint indexSize, uint indexStart, uint indexCount, ref Urho.Matrix3x4 transform, ref Urho.Color color, bool depthTest);
Exemplo n.º 8
0
 internal static extern void DebugRenderer_AddLine(IntPtr handle, ref Urho.Vector3 start, ref Urho.Vector3 end, ref Urho.Color color, bool depthTest);
Exemplo n.º 9
0
 /// <summary>
 /// Add a line.
 /// </summary>
 public void AddLine(Urho.Vector3 start, Urho.Vector3 end, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddLine(handle, ref start, ref end, ref color, depthTest);
 }
Exemplo n.º 10
0
Arquivo: Window.cs Projeto: yrest/urho
 internal static extern void Window_SetModalFrameColor(IntPtr handle, ref Urho.Color color);
Exemplo n.º 11
0
Arquivo: Window.cs Projeto: yrest/urho
 /// <summary>
 /// Set modal frame color.
 /// </summary>
 private void SetModalFrameColor(Urho.Color color)
 {
     Runtime.ValidateRefCounted(this);
     Window_SetModalFrameColor(handle, ref color);
 }
Exemplo n.º 12
0
 /// <summary>
 /// Set color.
 /// </summary>
 private void SetColor(Urho.Color color)
 {
     Runtime.ValidateRefCounted(this);
     StaticSprite2D_SetColor(handle, ref color);
 }
Exemplo n.º 13
0
 internal static extern void StaticSprite2D_SetColor(IntPtr handle, ref Urho.Color color);
Exemplo n.º 14
0
 /// <summary>
 /// Set border color for border addressing mode.
 /// </summary>
 private void SetBorderColor(Urho.Color color)
 {
     Runtime.ValidateRefCounted(this);
     Texture_SetBorderColor(handle, ref color);
 }
Exemplo n.º 15
0
 internal static extern void DebugRenderer_AddPolyhedron(IntPtr handle, IntPtr poly, ref Urho.Color color, bool depthTest);
Exemplo n.º 16
0
 internal static extern void DebugRenderer_AddTriangle(IntPtr handle, ref Urho.Vector3 v1, ref Urho.Vector3 v2, ref Urho.Vector3 v3, ref Urho.Color color, bool depthTest);
Exemplo n.º 17
0
 /// <summary>
 /// Add a polyhedron.
 /// </summary>
 public void AddPolyhedron(Polyhedron poly, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddPolyhedron(handle, (object)poly == null ? IntPtr.Zero : poly.Handle, ref color, depthTest);
 }
Exemplo n.º 18
0
 /// <summary>
 /// Add a triangle.
 /// </summary>
 public void AddTriangle(Urho.Vector3 v1, Urho.Vector3 v2, Urho.Vector3 v3, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddTriangle(handle, ref v1, ref v2, ref v3, ref color, depthTest);
 }
Exemplo n.º 19
0
 /// <summary>
 /// Add a cylinder
 /// </summary>
 public void AddCylinder(Urho.Vector3 position, float radius, float height, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddCylinder(handle, ref position, radius, height, ref color, depthTest);
 }
Exemplo n.º 20
0
 internal static extern void DebugRenderer_AddBoundingBox(IntPtr handle, ref Urho.BoundingBox box, ref Urho.Color color, bool depthTest);
Exemplo n.º 21
0
 /// <summary>
 /// Add a triangle mesh.
 /// </summary>
 public void AddTriangleMesh(void *vertexData, uint vertexSize, void *indexData, uint indexSize, uint indexStart, uint indexCount, Urho.Matrix3x4 transform, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddTriangleMesh(handle, vertexData, vertexSize, indexData, indexSize, indexStart, indexCount, ref transform, ref color, depthTest);
 }
Exemplo n.º 22
0
 internal static extern void DebugRenderer_AddBoundingBox2(IntPtr handle, ref Urho.BoundingBox box, ref Urho.Matrix3x4 transform, ref Urho.Color color, bool depthTest);
Exemplo n.º 23
0
 /// <summary>
 /// Add a circle.
 /// </summary>
 public void AddCircle(Urho.Vector3 center, Urho.Vector3 normal, float radius, Urho.Color color, int steps, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddCircle(handle, ref center, ref normal, radius, ref color, steps, depthTest);
 }
Exemplo n.º 24
0
 /// <summary>
 /// Add a bounding box with transform.
 /// </summary>
 public void AddBoundingBox(Urho.BoundingBox box, Urho.Matrix3x4 transform, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddBoundingBox2(handle, ref box, ref transform, ref color, depthTest);
 }
Exemplo n.º 25
0
 /// <summary>
 /// Add a cross.
 /// </summary>
 public void AddCross(Urho.Vector3 center, float size, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddCross(handle, ref center, size, ref color, depthTest);
 }
Exemplo n.º 26
0
 internal static extern void DebugRenderer_AddFrustum(IntPtr handle, IntPtr frustum, ref Urho.Color color, bool depthTest);
Exemplo n.º 27
0
 /// <summary>
 /// Add a quad on the XZ plane.
 /// </summary>
 public void AddQuad(Urho.Vector3 center, float width, float height, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddQuad(handle, ref center, width, height, ref color, depthTest);
 }
Exemplo n.º 28
0
 /// <summary>
 /// Add a frustum.
 /// </summary>
 public void AddFrustum(Frustum frustum, Urho.Color color, bool depthTest)
 {
     Runtime.ValidateRefCounted(this);
     DebugRenderer_AddFrustum(handle, (object)frustum == null ? IntPtr.Zero : frustum.Handle, ref color, depthTest);
 }
Exemplo n.º 29
0
Arquivo: Zone.cs Projeto: yrest/urho
 /// <summary>
 /// Set fog color.
 /// </summary>
 private void SetFogColor(Urho.Color color)
 {
     Runtime.ValidateRefCounted(this);
     Zone_SetFogColor(handle, ref color);
 }
Exemplo n.º 30
0
 /// <summary>
 /// Define a vertex color.
 /// </summary>
 public void DefineColor(Urho.Color color)
 {
     Runtime.ValidateRefCounted(this);
     CustomGeometry_DefineColor(handle, ref color);
 }