Beispiel #1
0
 private static extern bool Internal_hasFlag(IntPtr thisPtr, SphericalJointFlag flag);
Beispiel #2
0
 private static extern void Internal_setFlag(IntPtr thisPtr, SphericalJointFlag flag, bool enabled);
Beispiel #3
0
 /// <summary>Enables or disables a flag that controls the joint's behaviour.</summary>
 public void SetFlag(SphericalJointFlag flag, bool enabled)
 {
     Internal_setFlag(mCachedPtr, flag, enabled);
 }
Beispiel #4
0
 /// <summary>Checks is the specified flag enabled.</summary>
 public bool HasFlag(SphericalJointFlag flag)
 {
     return(Internal_hasFlag(mCachedPtr, flag));
 }
 internal static extern void Internal_SetFlags(IntPtr obj, SphericalJointFlag value);