public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt32(m_sectionUid); bw.WriteInt32(m_runtimeId); bw.WriteUInt32(0); s.WriteClassPointer <hkaiDirectedGraphExplicitCost>(bw, m_originalGraph); s.WriteInt32Array(bw, m_nodeMap); s.WriteClassArray <hkaiDirectedGraphExplicitCostNode>(bw, m_instancedNodes); s.WriteClassArray <hkaiDirectedGraphExplicitCostEdge>(bw, m_ownedEdges); s.WriteUInt32Array(bw, m_ownedEdgeData); s.WriteInt32Array(bw, m_userEdgeCount); s.WriteClassArray <hkaiDirectedGraphInstanceFreeBlockList>(bw, m_freeEdgeBlocks); bw.WriteUInt64(0); s.WriteTransform(bw, m_transform); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); m_simulationInfo.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassArray <hclSimClothDataParticleData>(bw, m_particleDatas); s.WriteUInt16Array(bw, m_fixedParticles); s.WriteUInt16Array(bw, m_triangleIndices); s.WriteByteArray(bw, m_triangleFlips); bw.WriteSingle(m_totalMass); bw.WriteUInt32(0); m_collidableTransformMap.Write(s, bw); s.WriteClassPointerArray <hclCollidable>(bw, m_perInstanceCollidables); s.WriteClassPointerArray <hclConstraintSet>(bw, m_staticConstraintSets); s.WriteClassPointerArray <hclConstraintSet>(bw, m_antiPinchConstraintSets); s.WriteClassPointerArray <hclSimClothPose>(bw, m_simClothPoses); s.WriteClassPointerArray <hclAction>(bw, m_actions); s.WriteUInt32Array(bw, m_staticCollisionMasks); s.WriteBooleanArray(bw, m_perParticlePinchDetectionEnabledFlags); s.WriteClassArray <hclSimClothDataCollidablePinchingData>(bw, m_collidablePinchingDatas); bw.WriteUInt16(m_minPinchedParticleIndex); bw.WriteUInt16(m_maxPinchedParticleIndex); bw.WriteUInt32(m_maxCollisionPairs); bw.WriteSingle(m_maxParticleRadius); m_landscapeCollisionData.Write(s, bw); bw.WriteUInt32(m_numLandscapeCollidableParticles); bw.WriteBoolean(m_doNormals); bw.WriteUInt16(0); bw.WriteByte(0); m_transferMotionData.Write(s, bw); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hkpPoweredChainMapperLinkInfo>(bw, m_links); s.WriteClassArray <hkpPoweredChainMapperTarget>(bw, m_targets); s.WriteClassPointerArray <hkpConstraintChainInstance>(bw, m_chains); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteInt32(m_bitsPerIndex); bw.WriteInt32(m_bitsPerWIndex); bw.WriteInt32(m_wIndexMask); bw.WriteInt32(m_indexMask); bw.WriteSingle(m_radius); bw.WriteByte((byte)m_weldingType); bw.WriteByte((byte)m_materialType); bw.WriteUInt16(0); s.WriteUInt32Array(bw, m_materials); s.WriteUInt16Array(bw, m_materials16); s.WriteByteArray(bw, m_materials8); s.WriteQSTransformArray(bw, m_transforms); s.WriteVector4Array(bw, m_bigVertices); s.WriteClassArray <hkpCompressedMeshShapeBigTriangle>(bw, m_bigTriangles); s.WriteClassArray <hkpCompressedMeshShapeChunk>(bw, m_chunks); s.WriteClassArray <hkpCompressedMeshShapeConvexPiece>(bw, m_convexPieces); bw.WriteSingle(m_error); bw.WriteUInt32(0); m_bounds.Write(s, bw); bw.WriteUInt32(m_defaultCollisionFilterInfo); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(m_materialStriding); bw.WriteUInt16(m_numMaterials); bw.WriteUInt32(0); s.WriteClassArray <hkpNamedMeshMaterial>(bw, m_namedMaterials); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassArray <hkxMaterialTextureStage>(bw, m_stages); bw.WriteUInt64(0); s.WriteVector4(bw, m_diffuseColor); s.WriteVector4(bw, m_ambientColor); s.WriteVector4(bw, m_specularColor); s.WriteVector4(bw, m_emissiveColor); s.WriteClassPointerArray <hkxMaterial>(bw, m_subMaterials); s.WriteClassPointer <hkReferencedObject>(bw, m_extraData); bw.WriteSingle(m_uvMapScale_0); bw.WriteSingle(m_uvMapScale_1); bw.WriteSingle(m_uvMapOffset_0); bw.WriteSingle(m_uvMapOffset_1); bw.WriteSingle(m_uvMapRotation); bw.WriteUInt32((uint)m_uvMapAlgorithm); bw.WriteSingle(m_specularMultiplier); bw.WriteSingle(m_specularExponent); bw.WriteByte((byte)m_transparency); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteUInt64(m_userData); s.WriteClassArray <hkxMaterialProperty>(bw, m_properties); bw.WriteUInt64(0); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { bw.WriteUInt32(m_thisUid); bw.WriteUInt32(m_oppositeUid); s.WriteClassArray <hkaiStreamingSetNavMeshConnection>(bw, m_meshConnections); s.WriteClassArray <hkaiStreamingSetGraphConnection>(bw, m_graphConnections); s.WriteClassArray <hkaiStreamingSetVolumeConnection>(bw, m_volumeConnections); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hclVolumeConstraintMxFrameBatchData>(bw, m_frameBatchDatas); s.WriteClassArray <hclVolumeConstraintMxFrameSingleData>(bw, m_frameSingleDatas); s.WriteClassArray <hclVolumeConstraintMxApplyBatchData>(bw, m_applyBatchDatas); s.WriteClassArray <hclVolumeConstraintMxApplySingleData>(bw, m_applySingleDatas); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteInt16Array(bw, m_bonesBuffer); s.WriteClassArray <hkSkinnedMeshShapeBoneSet>(bw, m_boneSets); s.WriteClassArray <hkSkinnedMeshShapeBoneSection>(bw, m_boneSections); s.WriteClassArray <hkSkinnedMeshShapePart>(bw, m_parts); s.WriteStringPointer(bw, m_name); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hkaiEdgeGeometryEdge>(bw, m_edges); s.WriteClassArray <hkaiEdgeGeometryFace>(bw, m_faces); s.WriteVector4Array(bw, m_vertices); m_zeroFace.Write(s, bw); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); m_worldCinfo.Write(s, bw); s.WriteClassArray <hknpBody>(bw, m_bodies); s.WriteStringPointerArray(bw, m_bodyNames); s.WriteClassArray <hknpMotion>(bw, m_motions); s.WriteClassArray <hknpConstraintCinfo>(bw, m_constraints); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteUInt32Array(bw, m_operators); s.WriteClassArray <hclClothStateBufferAccess>(bw, m_usedBuffers); s.WriteClassArray <hclClothStateTransformSetAccess>(bw, m_usedTransformSets); s.WriteUInt32Array(bw, m_usedSimCloths); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteSingle(m_characterHeight); bw.WriteUInt64(0); bw.WriteUInt32(0); s.WriteVector4(bw, m_up); bw.WriteSingle(m_quantizationGridSize); bw.WriteSingle(m_maxWalkableSlope); bw.WriteByte((byte)m_triangleWinding); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_degenerateAreaThreshold); bw.WriteSingle(m_degenerateWidthThreshold); bw.WriteSingle(m_convexThreshold); bw.WriteInt32(m_maxNumEdgesPerFace); m_edgeMatchingParams.Write(s, bw); bw.WriteUInt32((uint)m_edgeMatchingMetric); bw.WriteInt32(m_edgeConnectionIterations); bw.WriteUInt32(0); m_regionPruningSettings.Write(s, bw); m_wallClimbingSettings.Write(s, bw); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(0); m_boundsAabb.Write(s, bw); s.WriteClassPointerArray <hkaiCarver>(bw, m_carvers); s.WriteClassPointerArray <hkaiMaterialPainter>(bw, m_painters); bw.WriteUInt64(0); bw.WriteUInt32(m_defaultConstructionProperties); bw.WriteUInt32(0); s.WriteClassArray <hkaiNavMeshGenerationSettingsMaterialConstructionPair>(bw, m_materialMap); bw.WriteBoolean(m_fixupOverlappingTriangles); bw.WriteUInt16(0); bw.WriteByte(0); m_overlappingTrianglesSettings.Write(s, bw); bw.WriteBoolean(m_weldInputVertices); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_weldThreshold); bw.WriteSingle(m_minCharacterWidth); bw.WriteByte((byte)m_characterWidthUsage); bw.WriteBoolean(m_enableSimplification); bw.WriteUInt16(0); m_simplificationSettings.Write(s, bw); bw.WriteInt32(m_carvedMaterialDeprecated); bw.WriteInt32(m_carvedCuttingMaterialDeprecated); bw.WriteBoolean(m_setBestFaceCenters); bw.WriteBoolean(m_checkEdgeGeometryConsistency); bw.WriteBoolean(m_saveInputSnapshot); bw.WriteUInt32(0); bw.WriteByte(0); s.WriteStringPointer(bw, m_snapshotFilename); s.WriteClassArray <hkaiNavMeshGenerationSettingsOverrideSettings>(bw, m_overrideSettings); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <fsnpCustomMeshParameterTriangleData>(bw, m_triangleDataArray); s.WriteClassArray <fsnpCustomMeshParameterPrimitiveData>(bw, m_primitiveDataArray); bw.WriteInt32(m_vertexDataStride); bw.WriteInt32(m_triangleDataStride); bw.WriteUInt32(m_version); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hclBendStiffnessConstraintSetMxBatch>(bw, m_batches); s.WriteClassArray <hclBendStiffnessConstraintSetMxSingle>(bw, m_singles); bw.WriteBoolean(m_useRestPoseConfig); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hknpMaterial>(bw, m_materials); s.WriteClassArray <hknpMotionProperties>(bw, m_motionProperties); s.WriteClassArray <hknpMotionCinfo>(bw, m_motionCinfos); s.WriteClassArray <hknpBodyCinfo>(bw, m_bodyCinfos); s.WriteClassArray <hknpConstraintCinfo>(bw, m_constraintCinfos); s.WriteClassPointerArray <hkReferencedObject>(bw, m_referencedObjects); s.WriteStringPointer(bw, m_name); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteInt32(m_numPrimitiveKeys); bw.WriteInt32(m_bitsPerKey); bw.WriteUInt32(m_maxKeyValue); bw.WriteUInt32(0); s.WriteClassArray <hkcdStaticMeshTreeBaseSection>(bw, m_sections); s.WriteClassArray <hkcdStaticMeshTreeBasePrimitive>(bw, m_primitives); s.WriteUInt16Array(bw, m_sharedVerticesIndex); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteSingleArray(bw, m_attributeDefaults); s.WriteClassArray <hkbVariableInfo>(bw, m_variableInfos); s.WriteClassArray <hkbVariableInfo>(bw, m_characterPropertyInfos); s.WriteClassArray <hkbEventInfo>(bw, m_eventInfos); s.WriteClassArray <hkbVariableBounds>(bw, m_variableBounds); s.WriteClassPointer <hkbVariableValueSet>(bw, m_variableInitialValues); s.WriteClassPointer <hkbBehaviorGraphStringData>(bw, m_stringData); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteInt16Array(bw, m_parentIndices); s.WriteClassArray <hkaBone>(bw, m_bones); s.WriteQSTransformArray(bw, m_referencePose); s.WriteSingleArray(bw, m_referenceFloats); s.WriteStringPointerArray(bw, m_floatSlots); s.WriteClassArray <hkaSkeletonLocalFrameOnBone>(bw, m_localFrames); s.WriteClassArray <hkaSkeletonPartition>(bw, m_partitions); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteVector4Array(bw, m_vertices); s.WriteByteArray(bw, m_indices8); s.WriteUInt16Array(bw, m_indices16); s.WriteUInt32Array(bw, m_indices32); s.WriteByteArray(bw, m_materialIndices); s.WriteClassArray <hkpStorageExtendedMeshShapeMaterial>(bw, m_materials); s.WriteClassArray <hkpNamedMeshMaterial>(bw, m_namedMaterials); s.WriteUInt16Array(bw, m_materialIndices16); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteVector4Array(bw, m_positions); s.WriteClassArray <hkaiDirectedGraphExplicitCostNode>(bw, m_nodes); s.WriteClassArray <hkaiDirectedGraphExplicitCostEdge>(bw, m_edges); s.WriteUInt32Array(bw, m_nodeData); s.WriteUInt32Array(bw, m_edgeData); bw.WriteInt32(m_nodeDataStriding); bw.WriteInt32(m_edgeDataStriding); s.WriteClassArray <hkaiStreamingSet>(bw, m_streamingSets); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { s.WriteClassArray <hclObjectSpaceDeformerFourBlendEntryBlock>(bw, m_fourBlendEntries); s.WriteClassArray <hclObjectSpaceDeformerThreeBlendEntryBlock>(bw, m_threeBlendEntries); s.WriteClassArray <hclObjectSpaceDeformerTwoBlendEntryBlock>(bw, m_twoBlendEntries); s.WriteClassArray <hclObjectSpaceDeformerOneBlendEntryBlock>(bw, m_oneBlendEntries); s.WriteByteArray(bw, m_controlBytes); bw.WriteUInt16(m_startVertexIndex); bw.WriteUInt16(m_endVertexIndex); bw.WriteUInt16(m_batchSizeSpu); bw.WriteBoolean(m_partialWrite); bw.WriteByte(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclSimulationSetupMesh>(bw, m_simulationMesh); s.WriteClassPointer <hclTransformSetSetupObject>(bw, m_transformSetSetup); s.WriteClassArray <hclBonePlanesSetupObjectPerParticlePlane>(bw, m_perParticlePlanes); s.WriteClassArray <hclBonePlanesSetupObjectGlobalPlane>(bw, m_globalPlanes); s.WriteClassArray <hclBonePlanesSetupObjectPerParticleAngle>(bw, m_perParticleAngle); bw.WriteBoolean(m_angleSpecifiedInDegrees); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteBoolean(m_useSpheres); bw.WriteBoolean(m_useBoundaries); bw.WriteBoolean(m_clipBoundaries); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteByte(0); s.WriteTransform(bw, m_transform); s.WriteClassArray <hkaiAvoidanceSolverSphereObstacle>(bw, m_spheres); s.WriteClassArray <hkaiAvoidanceSolverBoundaryObstacle>(bw, m_boundaries); bw.WriteUInt64(m_userData); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hkaiNavVolumeCell>(bw, m_cells); s.WriteClassArray <hkaiNavVolumeEdge>(bw, m_edges); s.WriteClassArray <hkaiStreamingSet>(bw, m_streamingSets); m_aabb.Write(s, bw); s.WriteVector4(bw, m_quantizationScale); s.WriteVector4(bw, m_quantizationOffset); bw.WriteInt32(m_res_0); bw.WriteInt32(m_res_1); bw.WriteInt32(m_res_2); bw.WriteUInt32(0); bw.WriteUInt64(m_userData); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hkcdPlanarSolidNode>(bw, m_storage); bw.WriteUInt32(m_firstFreeNodeId); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hkcdDynamicTreeCodecRawUint>(bw, m_nodes); bw.WriteUInt32(m_firstFree); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteInt32(m_ModifierID); bw.WriteSByte((sbyte)m_rotationAxisType); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteInt32(m_SensingDummyPoly); bw.WriteUInt32(0); s.WriteClassArray <CustomLookAtTwistModifierTwistParam>(bw, m_twistParam); bw.WriteSingle(m_UpLimitAngle); bw.WriteSingle(m_DownLimitAngle); bw.WriteSingle(m_RightLimitAngle); bw.WriteSingle(m_LeftLimitAngle); bw.WriteSingle(m_UpMinimumAngle); bw.WriteSingle(m_DownMinimumAngle); bw.WriteSingle(m_RightMinimumAngle); bw.WriteSingle(m_LeftMinimumAngle); bw.WriteInt16(m_SensingAngle); bw.WriteSByte((sbyte)m_setAngleMethod); bw.WriteBoolean(m_isAdditive); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt64(0); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteVector4(bw, m_gravity); bw.WriteSByte(m_numWheels); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); s.WriteMatrix3(bw, m_chassisOrientation); bw.WriteSingle(m_torqueRollFactor); bw.WriteSingle(m_torquePitchFactor); bw.WriteSingle(m_torqueYawFactor); bw.WriteSingle(m_extraTorqueFactor); bw.WriteSingle(m_maxVelocityForPositionalFriction); bw.WriteSingle(m_chassisUnitInertiaYaw); bw.WriteSingle(m_chassisUnitInertiaRoll); bw.WriteSingle(m_chassisUnitInertiaPitch); bw.WriteSingle(m_frictionEqualizer); bw.WriteSingle(m_normalClippingAngleCos); bw.WriteSingle(m_maxFrictionSolverMassRatio); bw.WriteUInt32(0); s.WriteClassArray <hknpVehicleDataWheelComponentParams>(bw, m_wheelParams); s.WriteSByteArray(bw, m_numWheelsPerAxle); m_frictionDescription.Write(s, bw); s.WriteVector4(bw, m_chassisFrictionInertiaInvDiag); bw.WriteBoolean(m_alreadyInitialised); bw.WriteUInt64(0); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); bw.WriteUInt64(0); s.WriteClassPointer <hknpVehicleData>(bw, m_data); s.WriteClassPointer <hknpVehicleDriverInput>(bw, m_driverInput); s.WriteClassPointer <hknpVehicleSteering>(bw, m_steering); s.WriteClassPointer <hknpVehicleEngine>(bw, m_engine); s.WriteClassPointer <hknpVehicleTransmission>(bw, m_transmission); s.WriteClassPointer <hknpVehicleBrake>(bw, m_brake); s.WriteClassPointer <hknpVehicleSuspension>(bw, m_suspension); s.WriteClassPointer <hknpVehicleAerodynamics>(bw, m_aerodynamics); s.WriteClassPointer <hknpVehicleWheelCollide>(bw, m_wheelCollide); s.WriteClassPointer <hknpTyremarksInfo>(bw, m_tyreMarks); s.WriteClassPointer <hknpVehicleVelocityDamper>(bw, m_velocityDamper); s.WriteClassArray <hknpVehicleInstanceWheelInfo>(bw, m_wheelsInfo); m_frictionStatus.Write(s, bw); s.WriteClassPointer <hknpVehicleDriverInputStatus>(bw, m_deviceStatus); s.WriteBooleanArray(bw, m_isFixed); bw.WriteSingle(m_wheelsTimeSinceMaxPedalInput); bw.WriteBoolean(m_tryingToReverse); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_torque); bw.WriteSingle(m_rpm); bw.WriteSingle(m_mainSteeringAngle); bw.WriteSingle(m_mainSteeringAngleAssumingNoReduction); s.WriteSingleArray(bw, m_wheelsSteeringAngle); bw.WriteBoolean(m_isReversing); bw.WriteSByte(m_currentGear); bw.WriteBoolean(m_delayed); bw.WriteByte(0); bw.WriteSingle(m_clutchDelayCountdown); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteClassArray <hclBonePlanesConstraintSetBonePlane>(bw, m_bonePlanes); bw.WriteUInt32(m_transformSetIndex); bw.WriteUInt32(0); }