Ejemplo n.º 1
0
 /// <summary>
 /// Erase a substring.
 /// </summary>
 public void Erase(uint pos, uint length)
 {
     Runtime.ValidateObject(this);
     UrhoString_Erase(handle, pos, length);
 }
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
 /// <summary>
 /// Clear to undefined state.
 /// </summary>
 public void Clear()
 {
     Runtime.ValidateObject(this);
     Sphere_Clear(handle);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Merge a point.
 /// </summary>
 public void Merge(Urho.Vector3 point)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge(handle, ref point);
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Merge a bounding box.
 /// </summary>
 public void Merge(Urho.BoundingBox box)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge12(handle, ref box);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Return hash value for HashSet
 /// &
 /// HashMap.
 /// </summary>
 public uint ToHash()
 {
     Runtime.ValidateObject(this);
     return(UrhoString_ToHash(handle));
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Define from an array of vertices.
 /// </summary>
 public void Define(Vector3 *vertices, uint count)
 {
     Runtime.ValidateObject(this);
     Sphere_Define7(handle, vertices, count);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Return string in lowercase.
 /// </summary>
 public string ToLower()
 {
     Runtime.ValidateObject(this);
     return(Marshal.PtrToStringAnsi(UrhoString_ToLower(handle)));
 }
Ejemplo n.º 9
0
 /// <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));
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Clear the string.
 /// </summary>
 public void Clear()
 {
     Runtime.ValidateObject(this);
     UrhoString_Clear(handle);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Return a substring from position to end.
 /// </summary>
 public string Substring(uint pos)
 {
     Runtime.ValidateObject(this);
     return(Marshal.PtrToStringAnsi(UrhoString_Substring(handle, pos)));
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Reallocate so that no extra memory is used.
 /// </summary>
 public void Compact()
 {
     Runtime.ValidateObject(this);
     UrhoString_Compact(handle);
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Set new capacity.
 /// </summary>
 public void Reserve(uint newCapacity)
 {
     Runtime.ValidateObject(this);
     UrhoString_Reserve(handle, newCapacity);
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Resize the string.
 /// </summary>
 public void Resize(uint newLength)
 {
     Runtime.ValidateObject(this);
     UrhoString_Resize(handle, newLength);
 }
Ejemplo n.º 15
0
 /// <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);
 }
Ejemplo n.º 16
0
 /// <summary>
 /// Return whether ends with a string.
 /// </summary>
 public bool EndsWith(string str, bool caseSensitive)
 {
     Runtime.ValidateObject(this);
     return(UrhoString_EndsWith(handle, str, caseSensitive));
 }
Ejemplo n.º 17
0
 /// <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)));
 }
Ejemplo n.º 18
0
 /// <summary>
 /// Return buffer capacity.
 /// </summary>
 public uint Capacity()
 {
     Runtime.ValidateObject(this);
     return(UrhoString_Capacity(handle));
 }
Ejemplo n.º 19
0
 /// <summary>
 /// Define from center and radius.
 /// </summary>
 public void Define(Urho.Vector3 center, float radius)
 {
     Runtime.ValidateObject(this);
     Sphere_Define6(handle, ref center, radius);
 }
Ejemplo n.º 20
0
 /// <summary>
 /// Return whether the string is empty.
 /// </summary>
 public bool Empty()
 {
     Runtime.ValidateObject(this);
     return(UrhoString_Empty(handle));
 }
Ejemplo n.º 21
0
 /// <summary>
 /// Define from a bounding box.
 /// </summary>
 public void Define(Urho.BoundingBox box)
 {
     Runtime.ValidateObject(this);
     Sphere_Define8(handle, ref box);
 }
Ejemplo n.º 22
0
 /// <summary>
 /// Return comparison result with a string.
 /// </summary>
 public int Compare(string str, bool caseSensitive)
 {
     Runtime.ValidateObject(this);
     return(UrhoString_Compare(handle, str, caseSensitive));
 }
Ejemplo n.º 23
0
 /// <summary>
 /// Merge an array of vertices.
 /// </summary>
 public void Merge(Vector3 *vertices, uint count)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge11(handle, vertices, count);
 }
Ejemplo n.º 24
0
 /// <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));
 }
Ejemplo n.º 25
0
 /// <summary>
 /// Merge a frustum.
 /// </summary>
 public void Merge(Frustum frustum)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge13(handle, (object)frustum == null ? IntPtr.Zero : frustum.Handle);
 }
Ejemplo n.º 26
0
 /// <summary>
 /// Calculate number of characters in UTF8 content.
 /// </summary>
 public uint LengthUTF8()
 {
     Runtime.ValidateObject(this);
     return(UrhoString_LengthUTF8(handle));
 }
Ejemplo n.º 27
0
 /// <summary>
 /// Merge a sphere.
 /// </summary>
 public void Merge(SphereShape sphere)
 {
     Runtime.ValidateObject(this);
     Sphere_Merge15(handle, (object)sphere == null ? IntPtr.Zero : sphere.Handle);
 }
Ejemplo n.º 28
0
 /// <summary>
 /// Return Unicode character at index from UTF8 content.
 /// </summary>
 public uint AtUTF8(uint index)
 {
     Runtime.ValidateObject(this);
     return(UrhoString_AtUTF8(handle, index));
 }
Ejemplo n.º 29
0
 /// <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));
 }
Ejemplo n.º 30
0
 /// <summary>
 /// Insert a string.
 /// </summary>
 public void Insert(uint pos, string str)
 {
     Runtime.ValidateObject(this);
     UrhoString_Insert(handle, pos, str);
 }