Ejemplo n.º 1
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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Merge a polyhedron.
 /// </summary>
 public void Merge(Polyhedron poly)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge14(handle, (object)poly == null ? IntPtr.Zero : poly.Handle);
 }
Ejemplo n.º 3
0
 public Polyhedron(Polyhedron polyhedron)
 {
     Runtime.Validate(typeof(Polyhedron));
     handle = Polyhedron_Polyhedron0((object)polyhedron == null ? IntPtr.Zero : polyhedron.Handle);
     OnPolyhedronCreated();
 }
Ejemplo n.º 4
0
 public Sphere(Polyhedron poly)
 {
     Runtime.Validate(typeof(Sphere));
     handle = Sphere_Sphere5((object)poly == null ? IntPtr.Zero : poly.Handle);
     OnSphereCreated();
 }