public void SetDrive(D6JointDriveType index, D6JointDrive value) { #if UNIT_TEST_COMPILANT throw new NotImplementedException("Unit tests, don't support methods calls. Only properties can be get or set."); #else Internal_SetDrive(unmanagedPtr, index, ref value); #endif }
/// <summary> /// Sets the drive parameters for the specified drive type. /// </summary> /// <param name="index">The type of drive being specified.</param> /// <param name="value">The value.</param> public void SetDrive(D6JointDriveType index, D6JointDrive value) { Internal_SetDrive(unmanagedPtr, index, ref value); }
internal static extern void Internal_SetDrive(IntPtr obj, D6JointDriveType index, ref D6JointDrive value);
internal static extern void Internal_GetDrive(IntPtr obj, D6JointDriveType index, out D6JointDrive resultAsRef);