Esempio n. 1
0
        public void setContactOffset(float contactOffset)
        {
            physx.PxShapePtr pvk_in_this          = this;
            float            pvk_in_contactOffset = contactOffset;

            void_PxShapePtr_setContactOffsetPtr_float_(pvk_in_this, pvk_in_contactOffset);
        }
Esempio n. 2
0
        public void setMinTorsionalPatchRadius(float radius)
        {
            physx.PxShapePtr pvk_in_this   = this;
            float            pvk_in_radius = radius;

            void_PxShapePtr_setMinTorsionalPatchRadiusPtr_float_(pvk_in_this, pvk_in_radius);
        }
Esempio n. 3
0
        public physx.PxMaterialPtr getMaterialFromInternalFaceIndex(uint faceIndex)
        {
            physx.PxShapePtr pvk_in_this      = this;
            uint             pvk_in_faceIndex = faceIndex;

            return(PxMaterialPtr_const_PxShapePtr_getMaterialFromInternalFaceIndexPtr_uint_(pvk_in_this, pvk_in_faceIndex));
        }
Esempio n. 4
0
 public physx.PxTransform getLocalPose()
 {
     physx.PxTransform RetRef;
     physx.PxShapePtr  pvk_in_this = this;
     PxTransform_const_PxShapePtr_getLocalPosePtr(&RetRef, pvk_in_this);
     return(RetRef);
 }
Esempio n. 5
0
 public void onObjectOutOfBounds(physx.PxShapePtr shape, physx.PxActorPtr actor)
 {
     physx.PxBroadPhaseCallbackPtr pvk_in_this = this;
     physx.PxShapePtr pvk_in_shape             = shape;
     physx.PxActorPtr pvk_in_actor             = actor;
     void_PxBroadPhaseCallbackPtr_onObjectOutOfBoundsPtr_PxShapePtr_PxActorPtr_(pvk_in_this, pvk_in_shape, pvk_in_actor);
 }
Esempio n. 6
0
        public void setName(string name)
        {
            physx.PxShapePtr pvk_in_this = this;
            string           pvk_in_name = name;

            void_PxShapePtr_setNamePtr_string_(pvk_in_this, pvk_in_name);
        }
Esempio n. 7
0
        public void setRestOffset(float restOffset)
        {
            physx.PxShapePtr pvk_in_this       = this;
            float            pvk_in_restOffset = restOffset;

            void_PxShapePtr_setRestOffsetPtr_float_(pvk_in_this, pvk_in_restOffset);
        }
Esempio n. 8
0
 public static physx.PxRigidStaticPtr PxCreateStatic(physx.PxPhysicsPtr sdk, physx.PxTransform *transform, physx.PxShapePtr shape)
 {
     physx.PxPhysicsPtr pvk_in_sdk       = sdk;
     physx.PxTransform *pvk_in_transform = transform;
     physx.PxShapePtr   pvk_in_shape     = shape;
     return(PxRigidStaticPtr_PxCreateStaticPtr_PxPhysicsPtr_PxTransform_PxShapePtr_(pvk_in_sdk, pvk_in_transform, pvk_in_shape));
 }
Esempio n. 9
0
        public void setMaterials(physx.PxMaterialPtr *materials, ushort materialCount)
        {
            physx.PxShapePtr     pvk_in_this      = this;
            physx.PxMaterialPtr *pvk_in_materials = materials;
            ushort pvk_in_materialCount           = materialCount;

            void_PxShapePtr_setMaterialsPtr_PxMaterialPtr_ushort_(pvk_in_this, pvk_in_materials, pvk_in_materialCount);
        }
Esempio n. 10
0
        public void detachShape(physx.PxShapePtr shape, bool wakeOnLostTouch = true)
        {
            physx.PxRigidActorPtr pvk_in_this  = this;
            physx.PxShapePtr      pvk_in_shape = shape;
            bool pvk_in_wakeOnLostTouch        = wakeOnLostTouch;

            void_PxRigidActorPtr_detachShapePtr_PxShapePtr_bool_(pvk_in_this, pvk_in_shape, pvk_in_wakeOnLostTouch);
        }
Esempio n. 11
0
        public uint getMaterials(physx.PxMaterialPtr *userBuffer, uint bufferSize)
        {
            physx.PxShapePtr     pvk_in_this       = this;
            physx.PxMaterialPtr *pvk_in_userBuffer = userBuffer;
            uint pvk_in_bufferSize = bufferSize;

            return(uint_const_PxShapePtr_getMaterialsPtr_PxMaterialPtr_uint_(pvk_in_this, pvk_in_userBuffer, pvk_in_bufferSize));
        }
Esempio n. 12
0
    public static physx.PxShapePtr PxCloneShape(physx.PxPhysicsPtr physicsSDK, physx.PxShapePtr shape, bool isExclusive)
    {
        physx.PxPhysicsPtr pvk_in_physicsSDK = physicsSDK;
        physx.PxShapePtr   pvk_in_shape      = shape;
        bool pvk_in_isExclusive = isExclusive;

        return(PxShapePtr_PxCloneShapePtr_PxPhysicsPtr_PxShapePtr_bool_(pvk_in_physicsSDK, pvk_in_shape, pvk_in_isExclusive));
    }
Esempio n. 13
0
        public void setFlag(physx.PxShapeFlag flag, bool value)
        {
            physx.PxShapePtr  pvk_in_this = this;
            physx.PxShapeFlag pvk_in_flag = flag;
            bool pvk_in_value             = value;

            void_PxShapePtr_setFlagPtr_PxShapeFlag_bool_(pvk_in_this, pvk_in_flag, pvk_in_value);
        }
Esempio n. 14
0
    public static physx.PxRigidDynamicPtr PxCreateDynamic(physx.PxPhysicsPtr sdk, physx.PxTransform *transform, physx.PxShapePtr shape, float density)
    {
        physx.PxPhysicsPtr pvk_in_sdk       = sdk;
        physx.PxTransform *pvk_in_transform = transform;
        physx.PxShapePtr   pvk_in_shape     = shape;
        float pvk_in_density = density;

        return(PxRigidDynamicPtr_PxCreateDynamicPtr_PxPhysicsPtr_PxTransform_PxShapePtr_float_(pvk_in_sdk, pvk_in_transform, pvk_in_shape, pvk_in_density));
    }
Esempio n. 15
0
        public physx.PxFilterFlagsPtr pairFound_New(uint pairID, uint attributes0, physx.PxFilterDataPtr filterData0, physx.PxActorPtr a0, physx.PxShapePtr s0, uint attributes1, physx.PxFilterDataPtr filterData1, physx.PxActorPtr a1, physx.PxShapePtr s1, physx.PxPairFlagsPtr pairFlags)
        {
            physx.PxSimulationFilterCallbackPtr pvk_in_this = this;
            uint pvk_in_pairID      = pairID;
            uint pvk_in_attributes0 = attributes0;

            physx.PxFilterDataPtr pvk_in_filterData0 = filterData0;
            physx.PxActorPtr      pvk_in_a0          = a0;
            physx.PxShapePtr      pvk_in_s0          = s0;
            uint pvk_in_attributes1 = attributes1;

            physx.PxFilterDataPtr pvk_in_filterData1 = filterData1;
            physx.PxActorPtr      pvk_in_a1          = a1;
            physx.PxShapePtr      pvk_in_s1          = s1;
            physx.PxPairFlagsPtr  pvk_in_pairFlags   = pairFlags;
            return(PxFilterFlagsPtr_PxSimulationFilterCallbackPtr_pairFoundPtr_uint_uint_PxFilterDataPtr_PxActorPtr_PxShapePtr_uint_PxFilterDataPtr_PxActorPtr_PxShapePtr_PxPairFlagsPtr_(pvk_in_this, pvk_in_pairID, pvk_in_attributes0, pvk_in_filterData0, pvk_in_a0, pvk_in_s0, pvk_in_attributes1, pvk_in_filterData1, pvk_in_a1, pvk_in_s1, pvk_in_pairFlags));
        }
Esempio n. 16
0
 internal static extern uint uint_const_PxShapePtr_getMaterialsPtr_PxMaterialPtr_uint_uint_(physx.PxShapePtr pvk_this, physx.PxMaterialPtr *pvk_userBuffer, uint pvk_bufferSize, uint pvk_startIndex);
Esempio n. 17
0
 internal static extern ushort ushort_const_PxShapePtr_getNbMaterialsPtr(physx.PxShapePtr pvk_this);
Esempio n. 18
0
 internal static extern void void_PxShapePtr_setMaterialsPtr_PxMaterialPtr_ushort_(physx.PxShapePtr pvk_this, physx.PxMaterialPtr *pvk_materials, ushort pvk_materialCount);
Esempio n. 19
0
 internal static extern physx.PxFilterDataPtr PxFilterDataPtr_const_PxShapePtr_getQueryFilterDataPtr(physx.PxShapePtr pvk_this);
Esempio n. 20
0
 internal static extern void void_PxShapePtr_setQueryFilterDataPtr_PxFilterDataPtr_(physx.PxShapePtr pvk_this, physx.PxFilterDataPtr pvk_data);
Esempio n. 21
0
 internal static extern physx.PxFilterDataPtr PxFilterDataPtr_const_PxShapePtr_getSimulationFilterDataPtr(physx.PxShapePtr pvk_this);
Esempio n. 22
0
 internal static extern void void_PxShapePtr_setLocalPosePtr_PxTransform_(physx.PxShapePtr pvk_this, physx.PxTransform *pvk_pose);
Esempio n. 23
0
 internal static extern physx.PxRigidActorPtr PxRigidActorPtr_const_PxShapePtr_getActorPtr(physx.PxShapePtr pvk_this);
Esempio n. 24
0
 internal static extern bool bool_const_PxShapePtr_getHeightFieldGeometryPtr_PxHeightFieldGeometry_(physx.PxShapePtr pvk_this, physx.PxHeightFieldGeometry *pvk_geometry);
Esempio n. 25
0
 internal static extern float float_const_PxShapePtr_getContactOffsetPtr(physx.PxShapePtr pvk_this);
Esempio n. 26
0
 internal static extern physx.PxMaterialPtr PxMaterialPtr_const_PxShapePtr_getMaterialFromInternalFaceIndexPtr_uint_(physx.PxShapePtr pvk_this, uint pvk_faceIndex);
Esempio n. 27
0
 internal static extern void void_PxShapePtr_setContactOffsetPtr_float_(physx.PxShapePtr pvk_this, float pvk_contactOffset);
Esempio n. 28
0
 internal static extern void PxTransform_const_PxShapePtr_getLocalPosePtr(physx.PxTransform *pvk_RetRef, physx.PxShapePtr pvk_this);
Esempio n. 29
0
 internal static extern void void_PxShapePtr_setRestOffsetPtr_float_(physx.PxShapePtr pvk_this, float pvk_restOffset);
Esempio n. 30
0
 internal static extern bool bool_const_PxShapePtr_getTriangleMeshGeometryPtr_PxTriangleMeshGeometry_(physx.PxShapePtr pvk_this, physx.PxTriangleMeshGeometry *pvk_geometry);