public VectorIParticleContactGenerator(int capacity) : this(PhysicsEngineForFunPINVOKE.new_VectorIParticleContactGenerator__SWIG_2(capacity), true) { if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public VectorParticle(VectorParticle other) : this(PhysicsEngineForFunPINVOKE.new_VectorParticle__SWIG_1(VectorParticle.getCPtr(other)), true) { if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOrientation(Quaternion q) { PhysicsEngineForFunPINVOKE.Matrix3_SetOrientation(swigCPtr, Quaternion.getCPtr(q)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetTranspose(Matrix3 m) { PhysicsEngineForFunPINVOKE.Matrix3_SetTranspose(swigCPtr, Matrix3.getCPtr(m)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetBlockInertiaTensor(Vector3 halfSizes, float mass) { PhysicsEngineForFunPINVOKE.Matrix3_SetBlockInertiaTensor(swigCPtr, Vector3.getCPtr(halfSizes), mass); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddScaledVector(Vector3 vector, float scale) { PhysicsEngineForFunPINVOKE.Quaternion_AddScaledVector(swigCPtr, Vector3.getCPtr(vector), scale); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddForce(Vector3 force) { PhysicsEngineForFunPINVOKE.Particle_AddForce(swigCPtr, Vector3.getCPtr(force)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveRange(int index, int count) { PhysicsEngineForFunPINVOKE.VectorParticle_RemoveRange(swigCPtr, index, count); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void InsertRange(int index, VectorParticle values) { PhysicsEngineForFunPINVOKE.VectorParticle_InsertRange(swigCPtr, index, VectorParticle.getCPtr(values)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetOrientationAndPos(Quaternion q, Vector3 pos) { PhysicsEngineForFunPINVOKE.Matrix4_SetOrientationAndPos(swigCPtr, Quaternion.getCPtr(q), Vector3.getCPtr(pos)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, Particle val) { PhysicsEngineForFunPINVOKE.VectorParticle_setitem(swigCPtr, index, Particle.getCPtr(val)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddForceAtPoint(Vector3 force, Vector3 point) { PhysicsEngineForFunPINVOKE.RigidBody_AddForceAtPoint(swigCPtr, Vector3.getCPtr(force), Vector3.getCPtr(point)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, IParticleContactGenerator x) { PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_Insert(swigCPtr, index, IParticleContactGenerator.getCPtr(x)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetInertiaTensor(Matrix3 inertiaTensor) { PhysicsEngineForFunPINVOKE.RigidBody_SetInertiaTensor(swigCPtr, Matrix3.getCPtr(inertiaTensor)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("UpdateForce", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateIRigidBodyForceGenerator_0(SwigDirectorUpdateForce); } PhysicsEngineForFunPINVOKE.IRigidBodyForceGenerator_director_connect(swigCPtr, swigDelegate0); }
public void SetRange(int index, VectorIParticleContactGenerator values) { PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_SetRange(swigCPtr, index, VectorIParticleContactGenerator.getCPtr(values)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void RotateByVector(Vector3 vector) { PhysicsEngineForFunPINVOKE.Quaternion_RotateByVector(swigCPtr, Vector3.getCPtr(vector)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void Reverse(int index, int count) { PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_Reverse__SWIG_1(swigCPtr, index, count); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveAt(int index) { PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_RemoveAt(swigCPtr, index); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, IParticleContactGenerator val) { PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_setitem(swigCPtr, index, IParticleContactGenerator.getCPtr(val)); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("AddContact", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateIParticleContactGenerator_0(SwigDirectorAddContact); } PhysicsEngineForFunPINVOKE.IParticleContactGenerator_director_connect(swigCPtr, swigDelegate0); }
public Vector3 GetPointInWorldSpace(Vector3 point) { Vector3 ret = new Vector3(PhysicsEngineForFunPINVOKE.RigidBody_GetPointInWorldSpace(swigCPtr, Vector3.getCPtr(point)), true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static Matrix3 linearInterpolate(Matrix3 a, Matrix3 b, float prop) { Matrix3 ret = new Matrix3(PhysicsEngineForFunPINVOKE.Matrix3_linearInterpolate(Matrix3.getCPtr(a), Matrix3.getCPtr(b), prop), true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Vector3 TransformDirection(Vector3 vector) { Vector3 ret = new Vector3(PhysicsEngineForFunPINVOKE.Matrix4_TransformDirection(swigCPtr, Vector3.getCPtr(vector)), true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public VectorIParticleContactGenerator GetRange(int index, int count) { global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_GetRange(swigCPtr, index, count); VectorIParticleContactGenerator ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorIParticleContactGenerator(cPtr, true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void UpdateForce(RigidBody body, float duration) { if (SwigDerivedClassHasMethod("UpdateForce", swigMethodTypes0)) { PhysicsEngineForFunPINVOKE.IRigidBodyForceGenerator_UpdateForceSwigExplicitIRigidBodyForceGenerator(swigCPtr, RigidBody.getCPtr(body), duration); } else { PhysicsEngineForFunPINVOKE.IRigidBodyForceGenerator_UpdateForce(swigCPtr, RigidBody.getCPtr(body), duration); } }
public static VectorIParticleContactGenerator Repeat(IParticleContactGenerator value, int count) { global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_Repeat(IParticleContactGenerator.getCPtr(value), count); VectorIParticleContactGenerator ret = (cPtr == global::System.IntPtr.Zero) ? null : new VectorIParticleContactGenerator(cPtr, true); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private Particle getitem(int index) { global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorParticle_getitem(swigCPtr, index); Particle ret = (cPtr == global::System.IntPtr.Zero) ? null : new Particle(cPtr, false); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private IParticleContactGenerator getitem(int index) { global::System.IntPtr cPtr = PhysicsEngineForFunPINVOKE.VectorIParticleContactGenerator_getitem(swigCPtr, index); IParticleContactGenerator ret = (cPtr == global::System.IntPtr.Zero) ? null : new IParticleContactGenerator(cPtr, false); if (PhysicsEngineForFunPINVOKE.SWIGPendingException.Pending) { throw PhysicsEngineForFunPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void UpdateForce(Particle particle, float duration) { if (SwigDerivedClassHasMethod("UpdateForce", swigMethodTypes0)) { PhysicsEngineForFunPINVOKE.IParticleForceGenerator_UpdateForceSwigExplicitIParticleForceGenerator(swigCPtr, Particle.getCPtr(particle), duration); } else { PhysicsEngineForFunPINVOKE.IParticleForceGenerator_UpdateForce(swigCPtr, Particle.getCPtr(particle), duration); } }