java.lang.Object
physx.NativeObject
physx.extensions.PxSerialization
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxSerializationarrayGet(long baseAddress, int index) static voidcomplete(PxCollection collection, PxSerializationRegistry sr) static voidcomplete(PxCollection collection, PxSerializationRegistry sr, PxCollection exceptFor) static voidcomplete(PxCollection collection, PxSerializationRegistry sr, PxCollection exceptFor, boolean followJoints) static PxCollectioncreateCollectionFromBinary(NativeObject memBlock, PxSerializationRegistry sr) static PxCollectioncreateCollectionFromBinary(NativeObject memBlock, PxSerializationRegistry sr, PxCollection externalRefs) static PxCollectioncreateCollectionFromXml(PxInputData inputData, PxCookingParams params, PxSerializationRegistry sr) static PxCollectioncreateCollectionFromXml(PxInputData inputData, PxCookingParams params, PxSerializationRegistry sr, PxCollection externalRefs) static PxSerializationRegistrycreateSerializationRegistry(PxPhysics physics) static voidcreateSerialObjectIds(PxCollection collection, long base) voiddestroy()static booleanisSerializable(PxCollection collection, PxSerializationRegistry sr) static booleanisSerializable(PxCollection collection, PxSerializationRegistry sr, PxCollection externalReferences) static booleanserializeCollectionToBinary(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr) static booleanserializeCollectionToBinary(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCollection externalRefs) static booleanserializeCollectionToBinary(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCollection externalRefs, boolean exportNames) static booleanserializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr) static booleanserializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCookingParams params) static booleanserializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCookingParams params, PxCollection externalRefs) static PxSerializationwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxSerialization
protected PxSerialization() -
PxSerialization
protected PxSerialization(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
isSerializable
- Parameters:
collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]- Returns:
- WebIDL type: boolean
-
isSerializable
public static boolean isSerializable(PxCollection collection, PxSerializationRegistry sr, PxCollection externalReferences) - Parameters:
collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]externalReferences- WebIDL type:PxCollection[Const]- Returns:
- WebIDL type: boolean
-
complete
- Parameters:
collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]
-
complete
public static void complete(PxCollection collection, PxSerializationRegistry sr, PxCollection exceptFor) - Parameters:
collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]exceptFor- WebIDL type:PxCollection[Const]
-
complete
public static void complete(PxCollection collection, PxSerializationRegistry sr, PxCollection exceptFor, boolean followJoints) - Parameters:
collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]exceptFor- WebIDL type:PxCollection[Const]followJoints- WebIDL type: boolean
-
createSerialObjectIds
- Parameters:
collection- WebIDL type:PxCollection[Ref]base- WebIDL type: unsigned long long
-
createCollectionFromXml
public static PxCollection createCollectionFromXml(PxInputData inputData, PxCookingParams params, PxSerializationRegistry sr) - Parameters:
inputData- WebIDL type:PxInputData[Ref]params- WebIDL type:PxCookingParams[Const, Ref]sr- WebIDL type:PxSerializationRegistry[Ref]- Returns:
- WebIDL type:
PxCollection
-
createCollectionFromXml
public static PxCollection createCollectionFromXml(PxInputData inputData, PxCookingParams params, PxSerializationRegistry sr, PxCollection externalRefs) - Parameters:
inputData- WebIDL type:PxInputData[Ref]params- WebIDL type:PxCookingParams[Const, Ref]sr- WebIDL type:PxSerializationRegistry[Ref]externalRefs- WebIDL type:PxCollection[Const]- Returns:
- WebIDL type:
PxCollection
-
createCollectionFromBinary
public static PxCollection createCollectionFromBinary(NativeObject memBlock, PxSerializationRegistry sr) - Parameters:
memBlock- WebIDL type: VoidPtrsr- WebIDL type:PxSerializationRegistry[Ref]- Returns:
- WebIDL type:
PxCollection
-
createCollectionFromBinary
public static PxCollection createCollectionFromBinary(NativeObject memBlock, PxSerializationRegistry sr, PxCollection externalRefs) - Parameters:
memBlock- WebIDL type: VoidPtrsr- WebIDL type:PxSerializationRegistry[Ref]externalRefs- WebIDL type:PxCollection[Const]- Returns:
- WebIDL type:
PxCollection
-
serializeCollectionToXml
public static boolean serializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr) - Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]- Returns:
- WebIDL type: boolean
-
serializeCollectionToXml
public static boolean serializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCookingParams params) - Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]params- WebIDL type:PxCookingParams[Const]- Returns:
- WebIDL type: boolean
-
serializeCollectionToXml
public static boolean serializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCookingParams params, PxCollection externalRefs) - Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]params- WebIDL type:PxCookingParams[Const]externalRefs- WebIDL type:PxCollection[Const]- Returns:
- WebIDL type: boolean
-
serializeCollectionToBinary
public static boolean serializeCollectionToBinary(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr) - Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]- Returns:
- WebIDL type: boolean
-
serializeCollectionToBinary
public static boolean serializeCollectionToBinary(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCollection externalRefs) - Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]externalRefs- WebIDL type:PxCollection[Const]- Returns:
- WebIDL type: boolean
-
serializeCollectionToBinary
public static boolean serializeCollectionToBinary(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCollection externalRefs, boolean exportNames) - Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]externalRefs- WebIDL type:PxCollection[Const]exportNames- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
createSerializationRegistry
- Parameters:
physics- WebIDL type:PxPhysics[Ref]- Returns:
- WebIDL type:
PxSerializationRegistry
-