/// <summary> /// Test if a sphere if (partially) inside or outside. /// </summary> public Intersection IsInsideFast(SphereShape sphere) { Runtime.ValidateObject(this); return(Frustum_IsInsideFast(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle)); }
/// <summary> /// Add a sphere sector. /// </summary> public void AddSphereSector(SphereShape sphere, Urho.Quaternion rotation, float angle, bool drawLines, Urho.Color color, bool depthTest = true) { Runtime.ValidateRefCounted(this); DebugRenderer_AddSphereSector(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle, ref rotation, angle, drawLines, ref color, depthTest); }
public SphereShape(SphereShape sphere) { Runtime.Validate(typeof(SphereShape)); handle = Sphere_Sphere0((object)sphere == null ? IntPtr.Zero : sphere.Handle); OnSphereCreated(); }
/// <summary> /// Add a sphere. /// </summary> public void AddSphere(SphereShape sphere, Urho.Color color, bool depthTest = true) { Runtime.ValidateRefCounted(this); DebugRenderer_AddSphere(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle, ref color, depthTest); }
/// <summary> /// Merge a sphere. /// </summary> public void Merge(SphereShape sphere) { Runtime.ValidateObject(this); Sphere_Merge15(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle); }