public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_bitsPerIndex = br.ReadInt32(); m_bitsPerWIndex = br.ReadInt32(); m_wIndexMask = br.ReadInt32(); m_indexMask = br.ReadInt32(); m_radius = br.ReadSingle(); m_weldingType = (WeldingType)br.ReadByte(); m_materialType = (MaterialType)br.ReadByte(); br.ReadUInt16(); m_materials = des.ReadUInt32Array(br); m_materials16 = des.ReadUInt16Array(br); m_materials8 = des.ReadByteArray(br); m_transforms = des.ReadQSTransformArray(br); m_bigVertices = des.ReadVector4Array(br); m_bigTriangles = des.ReadClassArray <hkpCompressedMeshShapeBigTriangle>(br); m_chunks = des.ReadClassArray <hkpCompressedMeshShapeChunk>(br); m_convexPieces = des.ReadClassArray <hkpCompressedMeshShapeConvexPiece>(br); m_error = br.ReadSingle(); br.ReadUInt32(); m_bounds = new hkAabb(); m_bounds.Read(des, br); m_defaultCollisionFilterInfo = br.ReadUInt32(); br.ReadUInt64(); br.ReadUInt32(); m_materialStriding = br.ReadUInt16(); m_numMaterials = br.ReadUInt16(); br.ReadUInt32(); m_namedMaterials = des.ReadClassArray <hkpNamedMeshMaterial>(br); br.ReadUInt64(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_aabb = new hkAabb(); m_aabb.Read(des, br); m_geometry = new hkGeometry(); m_geometry.Read(des, br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_aabb = new hkAabb(); m_aabb.Read(des, br); br.ReadUInt64(); br.ReadUInt64(); }
public virtual void Read(PackFileDeserializer des, BinaryReaderEx br) { m_bodyBufferCapacity = br.ReadInt32(); br.ReadUInt64(); br.ReadUInt32(); m_motionBufferCapacity = br.ReadInt32(); br.ReadUInt64(); br.ReadUInt32(); m_constraintBufferCapacity = br.ReadInt32(); br.ReadUInt64(); br.ReadUInt64(); br.ReadUInt32(); m_materialLibrary = des.ReadClassPointer <hknpMaterialLibrary>(br); m_motionPropertiesLibrary = des.ReadClassPointer <hknpMotionPropertiesLibrary>(br); m_qualityLibrary = des.ReadClassPointer <hknpBodyQualityLibrary>(br); m_simulationType = (SimulationType)br.ReadByte(); br.ReadUInt16(); br.ReadByte(); m_numSplitterCells = br.ReadInt32(); br.ReadUInt64(); m_gravity = des.ReadVector4(br); m_enableContactCaching = br.ReadBoolean(); m_mergeEventsBeforeDispatch = br.ReadBoolean(); m_leavingBroadPhaseBehavior = (LeavingBroadPhaseBehavior)br.ReadByte(); br.ReadUInt64(); br.ReadUInt32(); br.ReadByte(); m_broadPhaseAabb = new hkAabb(); m_broadPhaseAabb.Read(des, br); m_broadPhaseConfig = des.ReadClassPointer <hknpBroadPhaseConfig>(br); m_collisionFilter = des.ReadClassPointer <hknpCollisionFilter>(br); m_shapeTagCodec = des.ReadClassPointer <hknpShapeTagCodec>(br); m_collisionTolerance = br.ReadSingle(); m_relativeCollisionAccuracy = br.ReadSingle(); m_enableWeldingForDefaultObjects = br.ReadBoolean(); m_enableWeldingForCriticalObjects = br.ReadBoolean(); br.ReadUInt16(); m_solverTau = br.ReadSingle(); m_solverDamp = br.ReadSingle(); m_solverIterations = br.ReadInt32(); m_solverMicrosteps = br.ReadInt32(); m_defaultSolverTimestep = br.ReadSingle(); m_maxApproachSpeedForHighQualitySolver = br.ReadSingle(); m_enableDeactivation = br.ReadBoolean(); m_deleteCachesOnDeactivation = br.ReadBoolean(); br.ReadUInt16(); m_largeIslandSize = br.ReadInt32(); m_enableSolverDynamicScheduling = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_contactSolverType = br.ReadInt32(); m_unitScale = br.ReadSingle(); m_applyUnitScaleToStaticConstants = br.ReadBoolean(); br.ReadUInt64(); br.ReadUInt32(); br.ReadUInt16(); br.ReadByte(); }
public virtual void Read(PackFileDeserializer des, BinaryReaderEx br) { m_aabb = new hkAabb(); m_aabb.Read(des, br); m_parent = br.ReadUInt64(); m_children_0 = br.ReadUInt64(); m_children_1 = br.ReadUInt64(); br.ReadUInt64(); }
public virtual void Read(PackFileDeserializer des, BinaryReaderEx br) { m_aabb = new hkAabb(); m_aabb.Read(des, br); m_shape = des.ReadClassPointer <hknpShape>(br); br.ReadUInt64(); m_transform = des.ReadTransform(br); m_to = des.ReadVector4(br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_planeEquations = des.ReadVector4Array(br); br.ReadUInt64(); m_localFromWorld = des.ReadTransform(br); m_worldFromLocal = des.ReadTransform(br); m_objAabb = new hkAabb(); m_objAabb.Read(des, br); m_geomCentroid = des.ReadVector4(br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_planes = des.ReadVector4Array(br); m_geometry = new hkGeometry(); m_geometry.Read(des, br); m_isInverted = br.ReadBoolean(); br.ReadUInt64(); br.ReadUInt32(); br.ReadUInt16(); br.ReadByte(); m_aabb = new hkAabb(); m_aabb.Read(des, br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_localAabb = new hkAabb(); m_localAabb.Read(des, br); m_localPoints = des.ReadVector4Array(br); m_silhouetteSizes = des.ReadInt32Array(br); m_weldTolerance = br.ReadSingle(); m_silhouetteDetailLevel = (DetailLevel)br.ReadByte(); m_flags = br.ReadByte(); m_localPointsChanged = br.ReadBoolean(); m_isEnabled = br.ReadBoolean(); br.ReadUInt64(); }
public virtual void Read(PackFileDeserializer des, BinaryReaderEx br) { m_accuracy = br.ReadSingle(); br.ReadUInt64(); br.ReadUInt32(); m_domain = new hkAabb(); m_domain.Read(des, br); m_origin = des.ReadVector4(br); m_scale = des.ReadVector4(br); m_range_0 = br.ReadSingle(); m_range_1 = br.ReadSingle(); m_nodes = des.ReadUInt32Array(br); m_voxels = des.ReadUInt16Array(br); br.ReadUInt64(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_instances = new hkFreeListArrayhknpShapeInstancehkHandleshort32767hknpShapeInstanceIdDiscriminant8hknpShapeInstance(); m_instances.Read(des, br); br.ReadUInt64(); m_aabb = new hkAabb(); m_aabb.Read(des, br); m_isMutable = br.ReadBoolean(); br.ReadUInt64(); br.ReadUInt64(); br.ReadUInt64(); br.ReadUInt32(); br.ReadUInt16(); br.ReadByte(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_cells = des.ReadClassArray <hkaiNavVolumeCell>(br); m_edges = des.ReadClassArray <hkaiNavVolumeEdge>(br); m_streamingSets = des.ReadClassArray <hkaiStreamingSet>(br); m_aabb = new hkAabb(); m_aabb.Read(des, br); m_quantizationScale = des.ReadVector4(br); m_quantizationOffset = des.ReadVector4(br); m_res_0 = br.ReadInt32(); m_res_1 = br.ReadInt32(); m_res_2 = br.ReadInt32(); br.ReadUInt32(); m_userData = br.ReadUInt64(); br.ReadUInt64(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_tetrahedraGrid = des.ReadUInt16Array(br); m_gridCells = des.ReadByteArray(br); m_tetrahedraEquations = des.ReadMatrix4Array(br); br.ReadUInt64(); m_localFromWorld = des.ReadTransform(br); m_worldFromLocal = des.ReadTransform(br); m_objAabb = new hkAabb(); m_objAabb.Read(des, br); m_geomCentroid = des.ReadVector4(br); m_invCellSize = des.ReadVector4(br); m_gridRes = br.ReadUInt16(); br.ReadUInt64(); br.ReadUInt32(); br.ReadUInt16(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_numLevelsOfDetail = br.ReadInt32(); m_infos_0 = new hknpLodShapeLevelOfDetailInfo(); m_infos_0.Read(des, br); m_infos_1 = new hknpLodShapeLevelOfDetailInfo(); m_infos_1.Read(des, br); m_infos_2 = new hknpLodShapeLevelOfDetailInfo(); m_infos_2.Read(des, br); m_infos_3 = new hknpLodShapeLevelOfDetailInfo(); m_infos_3.Read(des, br); m_infos_4 = new hknpLodShapeLevelOfDetailInfo(); m_infos_4.Read(des, br); m_infos_5 = new hknpLodShapeLevelOfDetailInfo(); m_infos_5.Read(des, br); m_infos_6 = new hknpLodShapeLevelOfDetailInfo(); m_infos_6.Read(des, br); m_infos_7 = new hknpLodShapeLevelOfDetailInfo(); m_infos_7.Read(des, br); br.ReadUInt32(); m_shapes_0 = des.ReadClassPointer <hknpShape>(br); m_shapes_1 = des.ReadClassPointer <hknpShape>(br); m_shapes_2 = des.ReadClassPointer <hknpShape>(br); m_shapes_3 = des.ReadClassPointer <hknpShape>(br); m_shapes_4 = des.ReadClassPointer <hknpShape>(br); m_shapes_5 = des.ReadClassPointer <hknpShape>(br); m_shapes_6 = des.ReadClassPointer <hknpShape>(br); m_shapes_7 = des.ReadClassPointer <hknpShape>(br); m_shapesMemorySizes_0 = br.ReadUInt32(); m_shapesMemorySizes_1 = br.ReadUInt32(); m_shapesMemorySizes_2 = br.ReadUInt32(); m_shapesMemorySizes_3 = br.ReadUInt32(); m_shapesMemorySizes_4 = br.ReadUInt32(); m_shapesMemorySizes_5 = br.ReadUInt32(); m_shapesMemorySizes_6 = br.ReadUInt32(); m_shapesMemorySizes_7 = br.ReadUInt32(); m_indexCurrentShapeOnSpu = br.ReadInt32(); br.ReadUInt32(); m_currentShapePpuAddress = des.ReadClassPointer <hknpShape>(br); br.ReadUInt64(); m_maximumAabb = new hkAabb(); m_maximumAabb.Read(des, br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_aabb = new hkAabb(); m_aabb.Read(des, br); m_floatToIntScale = des.ReadVector4(br); m_intToFloatScale = des.ReadVector4(br); m_intSizeX = br.ReadInt32(); m_intSizeZ = br.ReadInt32(); m_numBitsX = br.ReadInt32(); m_numBitsZ = br.ReadInt32(); m_minMaxTree = new hknpMinMaxQuadTree(); m_minMaxTree.Read(des, br); m_minMaxTreeCoarseness = br.ReadInt32(); m_includeShapeKeyInSdfContacts = br.ReadBoolean(); br.ReadUInt64(); br.ReadUInt16(); br.ReadByte(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_volumeAabb = new hkAabb(); m_volumeAabb.Read(des, br); m_maxHorizontalRange = br.ReadSingle(); m_maxVerticalRange = br.ReadSingle(); br.ReadUInt64(); m_up = des.ReadVector4(br); m_characterHeight = br.ReadSingle(); m_characterDepth = br.ReadSingle(); m_characterWidth = br.ReadSingle(); m_cellWidth = br.ReadSingle(); m_resolutionRoundingMode = (CellWidthToResolutionRounding)br.ReadByte(); br.ReadByte(); m_chunkSettings = new hkaiNavVolumeGenerationSettingsChunkSettings(); m_chunkSettings.Read(des, br); br.ReadUInt64(); br.ReadUInt32(); br.ReadUInt16(); m_border = br.ReadSingle(); m_useBorderCells = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_mergingSettings = new hkaiNavVolumeGenerationSettingsMergingSettings(); m_mergingSettings.Read(des, br); m_minRegionVolume = br.ReadSingle(); m_minDistanceToSeedPoints = br.ReadSingle(); br.ReadUInt32(); m_regionSeedPoints = des.ReadVector4Array(br); m_defaultConstructionInfo = new hkaiNavVolumeGenerationSettingsMaterialConstructionInfo(); m_defaultConstructionInfo.Read(des, br); br.ReadUInt32(); m_materialMap = des.ReadClassArray <hkaiNavVolumeGenerationSettingsMaterialConstructionInfo>(br); m_carvers = des.ReadClassPointerArray <hkaiCarver>(br); m_painters = des.ReadClassPointerArray <hkaiMaterialPainter>(br); m_saveInputSnapshot = br.ReadBoolean(); br.ReadUInt32(); br.ReadUInt16(); br.ReadByte(); m_snapshotFilename = des.ReadStringPointer(br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_movementProperties = new hkaiMovementProperties(); m_movementProperties.Read(des, br); m_nearbyBoundariesSearchType = (NearbyBoundariesSearchType)br.ReadByte(); br.ReadUInt64(); br.ReadUInt16(); br.ReadByte(); m_localSensorAabb = new hkAabb(); m_localSensorAabb.Read(des, br); m_wallFollowingAngle = br.ReadSingle(); m_dodgingPenalty = br.ReadSingle(); m_velocityHysteresis = br.ReadSingle(); m_sidednessChangingPenalty = br.ReadSingle(); m_collisionPenalty = br.ReadSingle(); m_penetrationPenalty = br.ReadSingle(); m_maxNeighbors = br.ReadInt32(); br.ReadUInt32(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_faces = des.ReadClassArray <hkaiNavMeshFace>(br); m_edges = des.ReadClassArray <hkaiNavMeshEdge>(br); m_vertices = des.ReadVector4Array(br); m_streamingSets = des.ReadClassArray <hkaiStreamingSet>(br); m_faceData = des.ReadInt32Array(br); m_edgeData = des.ReadInt32Array(br); m_faceDataStriding = br.ReadInt32(); m_edgeDataStriding = br.ReadInt32(); m_flags = br.ReadByte(); br.ReadUInt32(); br.ReadUInt16(); br.ReadByte(); m_aabb = new hkAabb(); m_aabb.Read(des, br); m_erosionRadius = br.ReadSingle(); br.ReadUInt32(); m_userData = br.ReadUInt64(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_domain = new hkAabb(); m_domain.Read(des, br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_gravity = des.ReadVector4(br); m_broadPhaseQuerySize = br.ReadInt32(); m_contactRestingVelocity = br.ReadSingle(); m_broadPhaseType = (BroadPhaseType)br.ReadSByte(); m_broadPhaseBorderBehaviour = (BroadPhaseBorderBehaviour)br.ReadSByte(); m_mtPostponeAndSortBroadPhaseBorderCallbacks = br.ReadBoolean(); br.ReadUInt32(); br.ReadByte(); m_broadPhaseWorldAabb = new hkAabb(); m_broadPhaseWorldAabb.Read(des, br); m_collisionTolerance = br.ReadSingle(); br.ReadUInt32(); m_collisionFilter = des.ReadClassPointer <hkpCollisionFilter>(br); m_convexListFilter = des.ReadClassPointer <hkpConvexListFilter>(br); m_expectedMaxLinearVelocity = br.ReadSingle(); m_sizeOfToiEventQueue = br.ReadInt32(); m_expectedMinPsiDeltaTime = br.ReadSingle(); br.ReadUInt32(); m_memoryWatchDog = des.ReadClassPointer <hkWorldMemoryAvailableWatchDog>(br); m_broadPhaseNumMarkers = br.ReadInt32(); m_contactPointGeneration = (ContactPointGeneration)br.ReadSByte(); m_allowToSkipConfirmedCallbacks = br.ReadBoolean(); br.ReadUInt16(); m_solverTau = br.ReadSingle(); m_solverDamp = br.ReadSingle(); m_solverIterations = br.ReadInt32(); m_solverMicrosteps = br.ReadInt32(); m_maxConstraintViolation = br.ReadSingle(); m_forceCoherentConstraintOrderingInSolver = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_snapCollisionToConvexEdgeThreshold = br.ReadSingle(); m_snapCollisionToConcaveEdgeThreshold = br.ReadSingle(); m_enableToiWeldRejection = br.ReadBoolean(); m_enableDeprecatedWelding = br.ReadBoolean(); br.ReadUInt16(); m_iterativeLinearCastEarlyOutDistance = br.ReadSingle(); m_iterativeLinearCastMaxIterations = br.ReadInt32(); m_deactivationNumInactiveFramesSelectFlag0 = br.ReadByte(); m_deactivationNumInactiveFramesSelectFlag1 = br.ReadByte(); m_deactivationIntegrateCounter = br.ReadByte(); m_shouldActivateOnRigidBodyTransformChange = br.ReadBoolean(); m_deactivationReferenceDistance = br.ReadSingle(); m_toiCollisionResponseRotateNormal = br.ReadSingle(); m_useCompoundSpuElf = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_maxSectorsPerMidphaseCollideTask = br.ReadInt32(); m_maxSectorsPerNarrowphaseCollideTask = br.ReadInt32(); m_processToisMultithreaded = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_maxEntriesPerToiMidphaseCollideTask = br.ReadInt32(); m_maxEntriesPerToiNarrowphaseCollideTask = br.ReadInt32(); m_maxNumToiCollisionPairsSinglethreaded = br.ReadInt32(); m_numToisTillAllowedPenetrationSimplifiedToi = br.ReadSingle(); m_numToisTillAllowedPenetrationToi = br.ReadSingle(); m_numToisTillAllowedPenetrationToiHigher = br.ReadSingle(); m_numToisTillAllowedPenetrationToiForced = br.ReadSingle(); m_enableDeactivation = br.ReadBoolean(); m_simulationType = (SimulationType)br.ReadSByte(); m_enableSimulationIslands = br.ReadBoolean(); br.ReadByte(); m_minDesiredIslandSize = br.ReadUInt32(); m_processActionsInSingleThread = br.ReadBoolean(); m_allowIntegrationOfIslandsWithoutConstraintsInASeparateJob = br.ReadBoolean(); br.ReadUInt16(); m_frameMarkerPsiSnap = br.ReadSingle(); m_fireCollisionCallbacks = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); }
public virtual void Read(PackFileDeserializer des, BinaryReaderEx br) { m_aabb = new hkAabb(); m_aabb.Read(des, br); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_characterHeight = br.ReadSingle(); br.ReadUInt64(); br.ReadUInt32(); m_up = des.ReadVector4(br); m_quantizationGridSize = br.ReadSingle(); m_maxWalkableSlope = br.ReadSingle(); m_triangleWinding = (TriangleWinding)br.ReadByte(); br.ReadUInt16(); br.ReadByte(); m_degenerateAreaThreshold = br.ReadSingle(); m_degenerateWidthThreshold = br.ReadSingle(); m_convexThreshold = br.ReadSingle(); m_maxNumEdgesPerFace = br.ReadInt32(); m_edgeMatchingParams = new hkaiNavMeshEdgeMatchingParameters(); m_edgeMatchingParams.Read(des, br); m_edgeMatchingMetric = (EdgeMatchingMetric)br.ReadUInt32(); m_edgeConnectionIterations = br.ReadInt32(); br.ReadUInt32(); m_regionPruningSettings = new hkaiNavMeshGenerationSettingsRegionPruningSettings(); m_regionPruningSettings.Read(des, br); m_wallClimbingSettings = new hkaiNavMeshGenerationSettingsWallClimbingSettings(); m_wallClimbingSettings.Read(des, br); br.ReadUInt64(); br.ReadUInt32(); br.ReadUInt16(); m_boundsAabb = new hkAabb(); m_boundsAabb.Read(des, br); m_carvers = des.ReadClassPointerArray <hkaiCarver>(br); m_painters = des.ReadClassPointerArray <hkaiMaterialPainter>(br); br.ReadUInt64(); m_defaultConstructionProperties = br.ReadUInt32(); br.ReadUInt32(); m_materialMap = des.ReadClassArray <hkaiNavMeshGenerationSettingsMaterialConstructionPair>(br); m_fixupOverlappingTriangles = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_overlappingTrianglesSettings = new hkaiOverlappingTrianglesSettings(); m_overlappingTrianglesSettings.Read(des, br); m_weldInputVertices = br.ReadBoolean(); br.ReadUInt16(); br.ReadByte(); m_weldThreshold = br.ReadSingle(); m_minCharacterWidth = br.ReadSingle(); m_characterWidthUsage = (CharacterWidthUsage)br.ReadByte(); m_enableSimplification = br.ReadBoolean(); br.ReadUInt16(); m_simplificationSettings = new hkaiNavMeshSimplificationUtilsSettings(); m_simplificationSettings.Read(des, br); m_carvedMaterialDeprecated = br.ReadInt32(); m_carvedCuttingMaterialDeprecated = br.ReadInt32(); m_setBestFaceCenters = br.ReadBoolean(); m_checkEdgeGeometryConsistency = br.ReadBoolean(); m_saveInputSnapshot = br.ReadBoolean(); br.ReadUInt32(); br.ReadByte(); m_snapshotFilename = des.ReadStringPointer(br); m_overrideSettings = des.ReadClassArray <hkaiNavMeshGenerationSettingsOverrideSettings>(br); br.ReadUInt64(); }