/// <summary> /// Register object factory. /// </summary> public new static void RegisterObject(Context context) { Runtime.Validate(typeof(TerrainPatch)); TerrainPatch_RegisterObject((object)context == null ? IntPtr.Zero : context.Handle); }
/// <summary> /// Return name for texture unit. /// </summary> public static string GetTextureUnitName(TextureUnit unit) { Runtime.Validate(typeof(Material)); return(Marshal.PtrToStringAnsi(Material_GetTextureUnitName(unit))); }
/// <summary> /// Register object factory. /// </summary> public static void RegisterObject(Context context) { Runtime.Validate(typeof(Material)); Material_RegisterObject((object)context == null ? IntPtr.Zero : context.Handle); }
public RibbonTrail(Context context) : base(UrhoObjectFlag.Empty) { Runtime.Validate(typeof(RibbonTrail)); handle = RibbonTrail_RibbonTrail((object)context == null ? IntPtr.Zero : context.Handle); Runtime.RegisterObject(this); }
private static StringHash GetTypeStatic() { Runtime.Validate(typeof(Material)); return(new StringHash(Material_GetTypeStatic())); }
private static string GetTypeNameStatic () { Runtime.Validate (typeof(Time)); return Marshal.PtrToStringAnsi (Time_GetTypeNameStatic ()); }
private static StringHash GetTypeStatic() { Runtime.Validate(typeof(RibbonTrail)); return(new StringHash(RibbonTrail_GetTypeStatic())); }
public UrhoString(double value) { Runtime.Validate(typeof(UrhoString)); handle = UrhoString_String10(value); OnUrhoStringCreated(); }
public UrhoString(string str) { Runtime.Validate(typeof(UrhoString)); handle = UrhoString_String0(str); OnUrhoStringCreated(); }
public ConvexData(Model model, uint lodLevel) { Runtime.Validate(typeof(ConvexData)); }
public ConvexData(CustomGeometry custom) { Runtime.Validate(typeof(ConvexData)); }
/// <summary> /// Register object factory. /// </summary> public new static void RegisterObject(Context context) { Runtime.Validate(typeof(DebugRenderer)); DebugRenderer_RegisterObject((object)context == null ? IntPtr.Zero : context.Handle); }
private static string GetTypeNameStatic() { Runtime.Validate(typeof(DebugRenderer)); return(Marshal.PtrToStringAnsi(DebugRenderer_GetTypeNameStatic())); }
private static StringHash GetTypeStatic() { Runtime.Validate(typeof(DebugRenderer)); return(new StringHash(DebugRenderer_GetTypeStatic())); }
/// <summary> /// Sleep for a number of milliseconds. /// </summary> public static void Sleep (uint mSec) { Runtime.Validate (typeof(Time)); Time_Sleep (mSec); }
public UrhoString(uint value) { Runtime.Validate(typeof(UrhoString)); handle = UrhoString_String5(value); OnUrhoStringCreated(); }
private static StringHash GetTypeStatic () { Runtime.Validate (typeof(Time)); return new StringHash (Time_GetTypeStatic ()); }
public Polyhedron() { Runtime.Validate(typeof(Polyhedron)); handle = Polyhedron_Polyhedron(); OnPolyhedronCreated(); }
public Pass(string passName) : base(UrhoObjectFlag.Empty) { Runtime.Validate(typeof(Pass)); handle = Pass_Pass(passName); Runtime.RegisterObject(this); }
public Polyhedron(Polyhedron polyhedron) { Runtime.Validate(typeof(Polyhedron)); handle = Polyhedron_Polyhedron0((object)polyhedron == null ? IntPtr.Zero : polyhedron.Handle); OnPolyhedronCreated(); }
private static string GetTypeNameStatic() { Runtime.Validate(typeof(RibbonTrail)); return(Marshal.PtrToStringAnsi(RibbonTrail_GetTypeNameStatic())); }
public Polyhedron(Urho.BoundingBox box) { Runtime.Validate(typeof(Polyhedron)); handle = Polyhedron_Polyhedron1(ref box); OnPolyhedronCreated(); }
/// <summary> /// Register object factory. /// </summary> public new static void RegisterObject(Context context) { Runtime.Validate(typeof(RibbonTrail)); RibbonTrail_RegisterObject((object)context == null ? IntPtr.Zero : context.Handle); }
public Polyhedron(Frustum frustum) { Runtime.Validate(typeof(Polyhedron)); handle = Polyhedron_Polyhedron2((object)frustum == null ? IntPtr.Zero : frustum.Handle); OnPolyhedronCreated(); }
private static string GetTypeNameStatic() { Runtime.Validate(typeof(Material)); return(Marshal.PtrToStringAnsi(Material_GetTypeNameStatic())); }
/// <summary> /// Get system time as milliseconds. /// </summary> private static uint GetSystemTime () { Runtime.Validate (typeof(Time)); return Time_GetSystemTime (); }
/// <summary> /// Parse a shader parameter value from a string. Retunrs either a bool, a float, or a 2 to 4-component vector. /// </summary> public static Variant ParseShaderParameterValue(string value) { Runtime.Validate(typeof(Material)); return(Material_ParseShaderParameterValue(value)); }
/// <summary> /// Get system time as seconds since 1.1.1970. /// </summary> private static uint GetTimeSinceEpoch () { Runtime.Validate (typeof(Time)); return Time_GetTimeSinceEpoch (); }
public ValueAnimationInfo(Urho.UrhoObject target, ValueAnimation animation, WrapMode wrapMode, float speed) : base(UrhoObjectFlag.Empty) { Runtime.Validate(typeof(ValueAnimationInfo)); handle = ValueAnimationInfo_ValueAnimationInfo0((object)target == null ? IntPtr.Zero : target.Handle, (object)animation == null ? IntPtr.Zero : animation.Handle, wrapMode, speed); Runtime.RegisterObject(this); }
private static string GetTypeNameStatic() { Runtime.Validate(typeof(TerrainPatch)); return(Marshal.PtrToStringAnsi(TerrainPatch_GetTypeNameStatic())); }