Example #1
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteUInt64Array(bw, m_deformableSkinIds);
     s.WriteUInt64Array(bw, m_rigidSkinIds);
     s.WriteInt16Array(bw, m_externalEventIds);
     s.WriteClassPointerArray <hkbAuxiliaryNodeInfo>(bw, m_auxiliaryInfo);
     s.WriteInt16Array(bw, m_activeEventIds);
     s.WriteInt16Array(bw, m_activeVariableIds);
     bw.WriteUInt64(m_characterId);
     s.WriteStringPointer(bw, m_instanceName);
     s.WriteStringPointer(bw, m_templateName);
     s.WriteStringPointer(bw, m_fullPathToProject);
     s.WriteStringPointer(bw, m_localScriptsPath);
     s.WriteStringPointer(bw, m_remoteScriptsPath);
     s.WriteClassPointer <hkbBehaviorGraphData>(bw, m_behaviorData);
     s.WriteClassPointer <hkbBehaviorGraphInternalState>(bw, m_behaviorInternalState);
     bw.WriteUInt64(0);
     bw.WriteBoolean(m_visible);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteSingle(m_elapsedSimulationTime);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeleton);
     bw.WriteUInt64(0);
     s.WriteQSTransform(bw, m_worldFromModel);
     s.WriteQSTransformArray(bw, m_poseModelSpace);
     s.WriteQSTransformArray(bw, m_rigidAttachmentTransforms);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteVector4(bw, m_mirrorAxis);
     s.WriteInt16Array(bw, m_bonePairMap);
     s.WriteInt16Array(bw, m_partitionPairMap);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_characterId);
     s.WriteClassPointer <hkbBehaviorGraphInternalState>(bw, m_internalState);
     s.WriteClassPointerArray <hkbAuxiliaryNodeInfo>(bw, m_auxiliaryNodeInfo);
     s.WriteInt16Array(bw, m_activeEventIds);
     s.WriteInt16Array(bw, m_activeVariableIds);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteStringPointer(bw, m_originalSkeletonName);
     s.WriteClassPointer <hkaAnimation>(bw, m_animation);
     s.WriteInt16Array(bw, m_transformTrackToBoneIndices);
     s.WriteInt16Array(bw, m_floatTrackToFloatSlotIndices);
     s.WriteInt16Array(bw, m_partitionIndices);
     bw.WriteSByte((sbyte)m_blendHint);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
Example #5
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkbGenerator>(bw, m_nestedTypeHkbGeneratorPtr);
     s.WriteClassPointer <hkbGenerator>(bw, m_nestedTypeHkbGeneratorRefPtr);
     s.WriteClassPointer <hkbModifier>(bw, m_nestedTypeHkbModifierPtr);
     s.WriteClassPointer <hkbModifier>(bw, m_nestedTypeHkbModifierRefPtr);
     s.WriteClassPointer <hkbCustomIdSelector>(bw, m_nestedTypeHkbCustomIdSelectorPtr);
     s.WriteClassPointer <hkbCustomIdSelector>(bw, m_nestedTypeHkbCustomIdSelectorRefPtr);
     s.WriteBooleanArray(bw, m_nestedTypeArrayBool);
     s.WriteBooleanArray(bw, m_nestedTypeArrayHkBool);
     s.WriteStringPointerArray(bw, m_nestedTypeArrayCString);
     s.WriteStringPointerArray(bw, m_nestedTypeArrayHkStringPtr);
     s.WriteSByteArray(bw, m_nestedTypeArrayHkInt8);
     s.WriteInt16Array(bw, m_nestedTypeArrayHkInt16);
     s.WriteInt32Array(bw, m_nestedTypeArrayHkInt32);
     s.WriteByteArray(bw, m_nestedTypeArrayHkUint8);
     s.WriteUInt16Array(bw, m_nestedTypeArrayHkUint16);
     s.WriteUInt32Array(bw, m_nestedTypeArrayHkUint32);
     s.WriteSingleArray(bw, m_nestedTypeArrayHkReal);
     s.WriteClassPointerArray <hkbGenerator>(bw, m_nestedTypeArrayHkbGeneratorPtr);
     s.WriteClassPointerArray <hkbGenerator>(bw, m_nestedTypeArrayHkbGeneratorRefPtr);
     s.WriteClassPointerArray <hkbModifier>(bw, m_nestedTypeArrayHkbModifierPtr);
     s.WriteClassPointerArray <hkbModifier>(bw, m_nestedTypeArrayHkbModifierRefPtr);
     s.WriteClassPointerArray <hkbCustomIdSelector>(bw, m_nestedTypeArrayHkbCustomIdSelectorPtr);
     s.WriteClassPointerArray <hkbCustomIdSelector>(bw, m_nestedTypeArrayHkbCustomIdSelectorRefPtr);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassPointer <hkSkinnedMeshShape>(bw, m_skinnedMeshShape);
     s.WriteInt16Array(bw, m_bones);
     s.WriteVector4Array(bw, m_localFromRootTransforms);
     s.WriteStringPointer(bw, m_name);
 }
Example #7
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     bw.WriteUInt64(m_characterId);
     s.WriteInt16Array(bw, m_externalEventIds);
     bw.WriteInt32(m_padding);
     bw.WriteUInt32(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeletonA);
     s.WriteClassPointer <hkaSkeleton>(bw, m_skeletonB);
     s.WriteInt16Array(bw, m_partitionMap);
     s.WriteClassArray <hkaSkeletonMapperDataPartitionMappingRange>(bw, m_simpleMappingPartitionRanges);
     s.WriteClassArray <hkaSkeletonMapperDataPartitionMappingRange>(bw, m_chainMappingPartitionRanges);
     s.WriteClassArray <hkaSkeletonMapperDataSimpleMapping>(bw, m_simpleMappings);
     s.WriteClassArray <hkaSkeletonMapperDataChainMapping>(bw, m_chainMappings);
     s.WriteInt16Array(bw, m_unmappedBones);
     s.WriteQSTransform(bw, m_extractedMotionMapping);
     bw.WriteBoolean(m_keepUnmappedLocal);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
     bw.WriteInt32((int)m_mappingType);
     bw.WriteUInt64(0);
 }
 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.WriteInt16Array(bw, m_vertexInputFromVertexOutput);
     bw.WriteUInt32(m_inputBufferIdx);
     bw.WriteUInt32(m_outputBufferIdx);
     bw.WriteBoolean(m_gatherNormals);
     bw.WriteBoolean(m_partialGather);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
 }
Example #11
0
 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.WriteMatrix4Array(bw, m_matrices);
     s.WriteMatrix4Array(bw, m_inverseMatrices);
     s.WriteInt16Array(bw, m_matricesOrder);
     s.WriteStringPointerArray(bw, m_matricesNames);
     s.WriteClassArray <hkMeshBoneIndexMapping>(bw, m_indexMappings);
     bw.WriteBoolean(m_allMatricesAreAffine);
     bw.WriteUInt32(0);
     bw.WriteUInt16(0);
     bw.WriteByte(0);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteClassArray <hkbBlenderGeneratorChildInternalState>(bw, m_childrenInternalStates);
     s.WriteInt16Array(bw, m_sortedChildren);
     bw.WriteSingle(m_endIntervalWeight);
     bw.WriteInt32(m_numActiveChildren);
     bw.WriteInt16(m_beginIntervalIndex);
     bw.WriteInt16(m_endIntervalIndex);
     bw.WriteBoolean(m_initSync);
     bw.WriteBoolean(m_doSubtractiveBlend);
     bw.WriteUInt16(0);
 }
Example #14
0
 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.WriteUInt64(0);
     bw.WriteUInt64(0);
     s.WriteClassPointer <hkaiNavMesh>(bw, m_originalMesh);
     bw.WriteUInt64(0);
     m_referenceFrame.Write(s, bw);
     s.WriteInt32Array(bw, m_edgeMap);
     s.WriteInt32Array(bw, m_faceMap);
     s.WriteClassArray <hkaiNavMeshFace>(bw, m_instancedFaces);
     s.WriteClassArray <hkaiNavMeshEdge>(bw, m_instancedEdges);
     s.WriteClassArray <hkaiNavMeshFace>(bw, m_ownedFaces);
     s.WriteClassArray <hkaiNavMeshEdge>(bw, m_ownedEdges);
     s.WriteVector4Array(bw, m_ownedVertices);
     s.WriteByteArray(bw, m_faceFlags);
     s.WriteUInt16Array(bw, m_cuttingInfo);
     s.WriteInt32Array(bw, m_instancedFaceData);
     s.WriteInt32Array(bw, m_instancedEdgeData);
     s.WriteInt32Array(bw, m_ownedFaceData);
     s.WriteInt32Array(bw, m_ownedEdgeData);
     s.WriteInt16Array(bw, m_clearanceCache);
     s.WriteInt16Array(bw, m_globalClearanceCache);
     s.WriteInt32Array(bw, m_faceClearanceIndices);
     bw.WriteSingle(m_maxGlobalClearance);
     bw.WriteUInt32(m_sectionUid);
     bw.WriteInt32(m_runtimeId);
     bw.WriteUInt32(m_layer);
 }
Example #15
0
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     m_characterControllerSetup.Write(s, bw);
     bw.WriteUInt64(0);
     s.WriteVector4(bw, m_modelUpMS);
     s.WriteVector4(bw, m_modelForwardMS);
     s.WriteVector4(bw, m_modelRightMS);
     s.WriteClassArray <hkbVariableInfo>(bw, m_characterPropertyInfos);
     s.WriteInt32Array(bw, m_numBonesPerLod);
     s.WriteClassPointer <hkbVariableValueSet>(bw, m_characterPropertyValues);
     s.WriteClassPointer <hkbFootIkDriverInfo>(bw, m_footIkDriverInfo);
     s.WriteClassPointer <hkbHandIkDriverInfo>(bw, m_handIkDriverInfo);
     s.WriteClassPointer <hkReferencedObject>(bw, m_aiControlDriverInfo);
     s.WriteClassPointer <hkbCharacterStringData>(bw, m_stringData);
     s.WriteClassPointer <hkbMirroredSkeletonInfo>(bw, m_mirroredSkeletonInfo);
     s.WriteInt16Array(bw, m_boneAttachmentBoneIndices);
     s.WriteMatrix4Array(bw, m_boneAttachmentTransforms);
     bw.WriteSingle(m_scale);
     bw.WriteUInt64(0);
     bw.WriteUInt32(0);
 }
 public virtual void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     s.WriteInt16Array(bw, m_mapping);
 }
 public override void Write(PackFileSerializer s, BinaryWriterEx bw)
 {
     base.Write(s, bw);
     s.WriteInt16Array(bw, m_boneIndices);
 }