示例#1
0
 /// <summary>
 /// Set global variable with the respective key and value
 /// </summary>
 public void SetGlobalVar(StringHash key, IntRect value)
 {
     Runtime.ValidateRefCounted(this);
     UrhoObject_SetGlobalVar_1(handle, key.Code, ref value);
 }
示例#2
0
 /// <summary>
 /// Add new metadata variable or overwrite old value.
 /// </summary>
 public void AddMetadata(string name, IntRect value)
 {
     Runtime.ValidateRefCounted(this);
     ResourceWithMetadata_AddMetadata_1(handle, name, ref value);
 }
示例#3
0
 internal static extern void UrhoObject_SetGlobalVar_1(IntPtr handle, int key, ref IntRect value);
示例#4
0
 /// <summary>
 /// Add a trigger point.
 /// </summary>
 public void AddTrigger(float time, bool timeIsNormalized, IntRect data)
 {
     Runtime.ValidateRefCounted(this);
     Animation_AddTrigger1(handle, time, timeIsNormalized, ref data);
 }
示例#5
0
 internal static extern void ResourceWithMetadata_AddMetadata_1(IntPtr handle, string name, ref IntRect value);
示例#6
0
 internal static extern void AttributeAccessor_Set1(IntPtr handle, IntPtr ptr, ref IntRect src);
示例#7
0
 internal static extern void Animation_AddTrigger1(IntPtr handle, float time, bool timeIsNormalized, ref IntRect data);
示例#8
0
文件: Spline.cs 项目: wqg2016/urho
 /// <summary>
 /// Add a knot to the spline at a specific index.
 /// </summary>
 public void AddKnot(IntRect knot, uint index)
 {
     Runtime.ValidateObject(this);
     Spline_AddKnot1_1(handle, ref knot, index);
 }
示例#9
0
 internal static extern bool ValueAnimation_SetKeyFrame1(IntPtr handle, float time, ref IntRect value);
示例#10
0
文件: Spline.cs 项目: wqg2016/urho
 /// <summary>
 /// Add a knot to the end of the spline.
 /// </summary>
 public void AddKnot(IntRect knot)
 {
     Runtime.ValidateObject(this);
     Spline_AddKnot_1(handle, ref knot);
 }
示例#11
0
文件: Spline.cs 项目: wqg2016/urho
 internal static extern void Spline_AddKnot1_1(IntPtr handle, ref IntRect knot, uint index);
示例#12
0
文件: Spline.cs 项目: wqg2016/urho
 internal static extern void Spline_AddKnot_1(IntPtr handle, ref IntRect knot);
示例#13
0
文件: Context.cs 项目: yrest/urho
 internal static extern void Context_SetGlobalVar1(IntPtr handle, int key, ref IntRect value);
示例#14
0
 /// <summary>
 /// Set the attribute.
 /// </summary>
 public void Set(Serializable ptr, IntRect src)
 {
     Runtime.ValidateRefCounted(this);
     AttributeAccessor_Set1(handle, (object)ptr == null ? IntPtr.Zero : ptr.Handle, ref src);
 }
示例#15
0
文件: Material.cs 项目: yrest/urho
 internal static extern void Material_SetShaderParameter1(IntPtr handle, string name, ref IntRect value);
示例#16
0
 /// <summary>
 /// Set key frame.
 /// </summary>
 public bool SetKeyFrame(float time, IntRect value)
 {
     Runtime.ValidateRefCounted(this);
     return(ValueAnimation_SetKeyFrame1(handle, time, ref value));
 }
示例#17
0
文件: Material.cs 项目: yrest/urho
 /// <summary>
 /// Set shader parameter.
 /// </summary>
 public void SetShaderParameter(string name, IntRect value)
 {
     Runtime.ValidateRefCounted(this);
     Material_SetShaderParameter1(handle, name, ref value);
 }
示例#18
0
 internal static extern void RenderPath_SetShaderParameter_1(IntPtr handle, string name, ref IntRect value);