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