/// <summary> /// Erase a substring. /// </summary> public void Erase(uint pos, uint length) { Runtime.ValidateObject(this); UrhoString_Erase(handle, pos, length); }
/// <summary> /// Merge a polyhedron. /// </summary> public void Merge(Polyhedron poly) { Runtime.ValidateObject(this); Sphere_Merge14(handle, (object)poly == null ? IntPtr.Zero : poly.Handle); }
/// <summary> /// Clear to undefined state. /// </summary> public void Clear() { Runtime.ValidateObject(this); Sphere_Clear(handle); }
/// <summary> /// Merge a point. /// </summary> public void Merge(Urho.Vector3 point) { Runtime.ValidateObject(this); Sphere_Merge(handle, ref point); }
/// <summary> /// Merge a bounding box. /// </summary> public void Merge(Urho.BoundingBox box) { Runtime.ValidateObject(this); Sphere_Merge12(handle, ref box); }
/// <summary> /// Return hash value for HashSet /// & /// HashMap. /// </summary> public uint ToHash() { Runtime.ValidateObject(this); return(UrhoString_ToHash(handle)); }
/// <summary> /// Define from an array of vertices. /// </summary> public void Define(Vector3 *vertices, uint count) { Runtime.ValidateObject(this); Sphere_Define7(handle, vertices, count); }
/// <summary> /// Return string in lowercase. /// </summary> public string ToLower() { Runtime.ValidateObject(this); return(Marshal.PtrToStringAnsi(UrhoString_ToLower(handle))); }
/// <summary> /// Return index to the last occurrence of a string, or NPOS if not found. /// </summary> public uint FindLast(string str, uint startPos, bool caseSensitive) { Runtime.ValidateObject(this); return(UrhoString_FindLast(handle, str, startPos, caseSensitive)); }
/// <summary> /// Clear the string. /// </summary> public void Clear() { Runtime.ValidateObject(this); UrhoString_Clear(handle); }
/// <summary> /// Return a substring from position to end. /// </summary> public string Substring(uint pos) { Runtime.ValidateObject(this); return(Marshal.PtrToStringAnsi(UrhoString_Substring(handle, pos))); }
/// <summary> /// Reallocate so that no extra memory is used. /// </summary> public void Compact() { Runtime.ValidateObject(this); UrhoString_Compact(handle); }
/// <summary> /// Set new capacity. /// </summary> public void Reserve(uint newCapacity) { Runtime.ValidateObject(this); UrhoString_Reserve(handle, newCapacity); }
/// <summary> /// Resize the string. /// </summary> public void Resize(uint newLength) { Runtime.ValidateObject(this); UrhoString_Resize(handle, newLength); }
/// <summary> /// Replace Unicode character at index from UTF8 content. /// </summary> public void ReplaceUTF8(uint index, uint unicodeChar) { Runtime.ValidateObject(this); UrhoString_ReplaceUTF8(handle, index, unicodeChar); }
/// <summary> /// Return whether ends with a string. /// </summary> public bool EndsWith(string str, bool caseSensitive) { Runtime.ValidateObject(this); return(UrhoString_EndsWith(handle, str, caseSensitive)); }
/// <summary> /// Return a UTF8 substring with length from position. /// </summary> public string SubstringUTF8(uint pos, uint length) { Runtime.ValidateObject(this); return(Marshal.PtrToStringAnsi(UrhoString_SubstringUTF814(handle, pos, length))); }
/// <summary> /// Return buffer capacity. /// </summary> public uint Capacity() { Runtime.ValidateObject(this); return(UrhoString_Capacity(handle)); }
/// <summary> /// Define from center and radius. /// </summary> public void Define(Urho.Vector3 center, float radius) { Runtime.ValidateObject(this); Sphere_Define6(handle, ref center, radius); }
/// <summary> /// Return whether the string is empty. /// </summary> public bool Empty() { Runtime.ValidateObject(this); return(UrhoString_Empty(handle)); }
/// <summary> /// Define from a bounding box. /// </summary> public void Define(Urho.BoundingBox box) { Runtime.ValidateObject(this); Sphere_Define8(handle, ref box); }
/// <summary> /// Return comparison result with a string. /// </summary> public int Compare(string str, bool caseSensitive) { Runtime.ValidateObject(this); return(UrhoString_Compare(handle, str, caseSensitive)); }
/// <summary> /// Merge an array of vertices. /// </summary> public void Merge(Vector3 *vertices, uint count) { Runtime.ValidateObject(this); Sphere_Merge11(handle, vertices, count); }
/// <summary> /// Return whether contains a specific occurrence of a string. /// </summary> public bool Contains(string str, bool caseSensitive) { Runtime.ValidateObject(this); return(UrhoString_Contains(handle, str, caseSensitive)); }
/// <summary> /// Merge a frustum. /// </summary> public void Merge(Frustum frustum) { Runtime.ValidateObject(this); Sphere_Merge13(handle, (object)frustum == null ? IntPtr.Zero : frustum.Handle); }
/// <summary> /// Calculate number of characters in UTF8 content. /// </summary> public uint LengthUTF8() { Runtime.ValidateObject(this); return(UrhoString_LengthUTF8(handle)); }
/// <summary> /// Merge a sphere. /// </summary> public void Merge(SphereShape sphere) { Runtime.ValidateObject(this); Sphere_Merge15(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle); }
/// <summary> /// Return Unicode character at index from UTF8 content. /// </summary> public uint AtUTF8(uint index) { Runtime.ValidateObject(this); return(UrhoString_AtUTF8(handle, index)); }
/// <summary> /// Return true if this sphere is defined via a previous call to Define() or Merge(). /// </summary> public bool Defined() { Runtime.ValidateObject(this); return(Sphere_Defined(handle)); }
/// <summary> /// Insert a string. /// </summary> public void Insert(uint pos, string str) { Runtime.ValidateObject(this); UrhoString_Insert(handle, pos, str); }