コード例 #1
0
ファイル: NxRevoluteJoint.cs プロジェクト: d3x0r/xperdex
 /// <summary>Reads back the motor parameters. </summary>
 /// <param name="motorDesc">Used to store the motor parameters of the joint. See NxMotorDesc</param>
 public virtual bool getMotor(NxMotorDesc motorDesc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxRevoluteJoint_getMotor_INVOKE(ClassPointer, doSetFunctionPointers, (motorDesc != null ? motorDesc.ClassPointer : NullRef)));
 }
コード例 #2
0
 /// <summary>Sets motor parameters for the joint. </summary>
 /// <param name="motorDesc">Platform:PC SW: Yes PPU : Yes PS3 : Yes XB360: Yes</param>
 public virtual void setMotor(NxMotorDesc motorDesc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxPulleyJoint_setMotor_INVOKE(ClassPointer, doSetFunctionPointers, (motorDesc != null ? motorDesc.ClassPointer : NullRef));
 }
コード例 #3
0
ファイル: NxRevoluteJoint.cs プロジェクト: d3x0r/xperdex
 private bool getMotor_virtual(IntPtr motorDesc)
 {
     return(getMotor(NxMotorDesc.GetClass(motorDesc)));
 }
コード例 #4
0
ファイル: NxRevoluteJoint.cs プロジェクト: d3x0r/xperdex
 private void setMotor_virtual(IntPtr motorDesc)
 {
     setMotor(NxMotorDesc.GetClass(motorDesc));
 }