Package physx.extensions
Class PxSerialization
- java.lang.Object
-
- physx.NativeObject
-
- physx.extensions.PxSerialization
-
public class PxSerialization extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxSerialization()protectedPxSerialization(long address)
-
Method Summary
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxSerialization wrapPointer(long address)
-
destroy
public void destroy()
-
isSerializable
public static boolean isSerializable(PxCollection collection, PxSerializationRegistry sr)
- 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
public static void complete(PxCollection collection, PxSerializationRegistry sr)
- 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
public static void createSerialObjectIds(PxCollection collection, long base)
- Parameters:
collection- WebIDL type:PxCollection[Ref]base- WebIDL type: unsigned long long
-
createCollectionFromXml
public static PxCollection createCollectionFromXml(PxInputData inputData, PxCooking cooking, PxSerializationRegistry sr)
- Parameters:
inputData- WebIDL type:PxInputData[Ref]cooking- WebIDL type:PxCooking[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]- Returns:
- WebIDL type:
PxCollection
-
createCollectionFromXml
public static PxCollection createCollectionFromXml(PxInputData inputData, PxCooking cooking, PxSerializationRegistry sr, PxCollection externalRefs)
- Parameters:
inputData- WebIDL type:PxInputData[Ref]cooking- WebIDL type:PxCooking[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, PxCooking cooking)
- Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]cooking- WebIDL type:PxCooking- Returns:
- WebIDL type: boolean
-
serializeCollectionToXml
public static boolean serializeCollectionToXml(PxOutputStream outputStream, PxCollection collection, PxSerializationRegistry sr, PxCooking cooking, PxCollection externalRefs)
- Parameters:
outputStream- WebIDL type:PxOutputStream[Ref]collection- WebIDL type:PxCollection[Ref]sr- WebIDL type:PxSerializationRegistry[Ref]cooking- WebIDL type:PxCookingexternalRefs- 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
public static PxSerializationRegistry createSerializationRegistry(PxPhysics physics)
- Parameters:
physics- WebIDL type:PxPhysics[Ref]- Returns:
- WebIDL type:
PxSerializationRegistry
-
-