예제 #1
0
파일: Context.cs 프로젝트: sweep3r/urho
 /// <summary>
 /// Set global variable with the respective key and value
 /// </summary>
 public void SetGlobalVar(StringHash key, IntVector2 value)
 {
     Runtime.ValidateRefCounted(this);
     Context_SetGlobalVar_5(handle, key.Code, ref value);
 }
예제 #2
0
 /// <summary>
 /// Set key frame.
 /// </summary>
 public bool SetKeyFrame(float time, IntVector2 value)
 {
     Runtime.ValidateRefCounted(this);
     return(ValueAnimation_SetKeyFrame5(handle, time, ref value));
 }
예제 #3
0
파일: Context.cs 프로젝트: sweep3r/urho
 internal static extern void Context_SetGlobalVar_5(IntPtr handle, int key, ref IntVector2 value);
예제 #4
0
 internal static extern void UrhoObject_SetGlobalVar5(IntPtr handle, int key, ref IntVector2 value);
예제 #5
0
 internal static extern bool ValueAnimation_SetKeyFrame5(IntPtr handle, float time, ref IntVector2 value);
예제 #6
0
 internal static extern void AttributeAccessor_Set5(IntPtr handle, IntPtr ptr, ref IntVector2 src);
예제 #7
0
 /// <summary>
 /// Set attribute by name. Return true if successfully set.
 /// </summary>
 public bool SetAttribute(string name, IntVector2 value)
 {
     Runtime.ValidateRefCounted(this);
     return(Serializable_SetAttribute05(handle, name, ref value));
 }
예제 #8
0
 internal static extern bool Serializable_SetAttribute5(IntPtr handle, uint index, ref IntVector2 value);
예제 #9
0
 /// <summary>
 /// Set attribute by index. Return true if successfully set.
 /// </summary>
 public bool SetAttribute(uint index, IntVector2 value)
 {
     Runtime.ValidateRefCounted(this);
     return(Serializable_SetAttribute5(handle, index, ref value));
 }
예제 #10
0
파일: Material.cs 프로젝트: yrest/urho
 internal static extern void Material_SetShaderParameter5(IntPtr handle, string name, ref IntVector2 value);
예제 #11
0
파일: Material.cs 프로젝트: yrest/urho
 /// <summary>
 /// Set shader parameter.
 /// </summary>
 public void SetShaderParameter(string name, IntVector2 value)
 {
     Runtime.ValidateRefCounted(this);
     Material_SetShaderParameter5(handle, name, ref value);
 }
예제 #12
0
 /// <summary>
 /// Add new metadata variable or overwrite old value.
 /// </summary>
 public void AddMetadata(string name, IntVector2 value)
 {
     Runtime.ValidateRefCounted(this);
     ResourceWithMetadata_AddMetadata5(handle, name, ref value);
 }
예제 #13
0
 internal static extern void ResourceWithMetadata_AddMetadata5(IntPtr handle, string name, ref IntVector2 value);
예제 #14
0
 /// <summary>
 /// Set the attribute.
 /// </summary>
 public void Set(Serializable ptr, IntVector2 src)
 {
     Runtime.ValidateRefCounted(this);
     AttributeAccessor_Set5(handle, (object)ptr == null ? IntPtr.Zero : ptr.Handle, ref src);
 }
예제 #15
0
파일: Animation.cs 프로젝트: yrest/urho
 internal static extern void Animation_AddTrigger5(IntPtr handle, float time, bool timeIsNormalized, ref IntVector2 data);
예제 #16
0
 internal static extern bool Serializable_SetAttribute05(IntPtr handle, string name, ref IntVector2 value);
예제 #17
0
파일: Animation.cs 프로젝트: yrest/urho
 /// <summary>
 /// Add a trigger point.
 /// </summary>
 public void AddTrigger(float time, bool timeIsNormalized, IntVector2 data)
 {
     Runtime.ValidateRefCounted(this);
     Animation_AddTrigger5(handle, time, timeIsNormalized, ref data);
 }
예제 #18
0
 internal static extern void RenderPath_SetShaderParameter_5(IntPtr handle, string name, ref IntVector2 value);