public virtual PxRigidActor getActor() { global::System.IntPtr cPtr = physxPINVOKE.PxShape_getActor(swigCPtr); PxRigidActor ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxRigidActor(cPtr, false); return(ret); }
public virtual PxConstraint createConstraint(PxRigidActor actor0, PxRigidActor actor1, PxConstraintConnector connector, PxConstraintShaderTable shaders, SWIGTYPE_p_uint32_t dataSize) { global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createConstraint(swigCPtr, PxRigidActor.getCPtr(actor0), PxRigidActor.getCPtr(actor1), PxConstraintConnector.getCPtr(connector), PxConstraintShaderTable.getCPtr(shaders), SWIGTYPE_p_uint32_t.getCPtr(dataSize)); PxConstraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new PxConstraint(cPtr, false); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PxActorShape(PxRigidActor a, PxShape s) : this(physxPINVOKE.new_PxActorShape__SWIG_1(PxRigidActor.getCPtr(a), PxShape.getCPtr(s)), true) { }
public virtual void setActors(PxRigidActor actor0, PxRigidActor actor1) { physxPINVOKE.PxConstraint_setActors(swigCPtr, PxRigidActor.getCPtr(actor0), PxRigidActor.getCPtr(actor1)); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxRigidActor obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public virtual PxQueryHitType.Enum preFilter(PxFilterData filterData, PxShape shape, PxRigidActor actor, SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t queryFlags) { PxQueryHitType.Enum ret = (PxQueryHitType.Enum)physxPINVOKE.PxQueryFilterCallback_preFilter(swigCPtr, PxFilterData.getCPtr(filterData), PxShape.getCPtr(shape), PxRigidActor.getCPtr(actor), SWIGTYPE_p_physx__PxFlagsT_physx__PxHitFlag__Enum_uint16_t_t.getCPtr(queryFlags)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }