Signed-off-by: seungho baek <sbsh.baek@samsung.com>
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Rotation_3")]
public static extern global::System.IntPtr NewRotation3(global::System.Runtime.InteropServices.HandleRef pitch, global::System.Runtime.InteropServices.HandleRef yaw, global::System.Runtime.InteropServices.HandleRef roll);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Rotation_4")]
+ public static extern global::System.IntPtr NewRotation4(global::System.Runtime.InteropServices.HandleRef vector4);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_Rotation")]
public static extern void DeleteRotation(global::System.Runtime.InteropServices.HandleRef rotation);
}
/// <summary>
+ /// The constructor of Rotation from Quaternion Vector4.
+ /// </summary>
+ /// <param name="vector">Quaternion vector for Rotation.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public Rotation(Vector4 vector) : this(Interop.Rotation.NewRotation4(Vector4.getCPtr(vector)), true)
+ {
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
/// (0.0f,0.0f,0.0f,1.0f).
/// </summary>
/// <since_tizen> 3 </since_tizen>