public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { bw.WriteBoolean(m_collapseVertices); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_collapseThreshold); m_vertexSelection.Write(s, bw); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { s.WriteStringPointer(bw, m_transformName); m_particles.Write(s, bw); bw.WriteUInt64(0); s.WriteVector4(bw, m_planeEquationBoneSpace); m_allowedPenetration.Write(s, bw); m_stiffness.Write(s, bw); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { s.WriteClassPointer <hclCollidable>(bw, m_collidable); m_collidingParticles.Write(s, bw); s.WriteStringPointer(bw, m_drivingBoneName); bw.WriteBoolean(m_pinchDetectionEnabled); bw.WriteSByte(m_pinchDetectionPriority); bw.WriteUInt16(0); bw.WriteSingle(m_pinchDetectionRadius); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclSimulationSetupMesh>(bw, m_simulationMesh); m_applyToParticles.Write(s, bw); m_stiffness.Write(s, bw); m_influenceParticles.Write(s, bw); m_particleWeights.Write(s, bw); }
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_collidableTransformSet); bw.WriteUInt64(0); s.WriteVector4(bw, m_gravity); bw.WriteSingle(m_globalDampingPerSecond); bw.WriteBoolean(m_doNormals); bw.WriteBoolean(m_specifyDensity); bw.WriteUInt16(0); m_vertexDensity.Write(s, bw); bw.WriteBoolean(m_rescaleMass); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_totalMass); m_particleMass.Write(s, bw); m_particleRadius.Write(s, bw); m_particleFriction.Write(s, bw); m_fixedParticles.Write(s, bw); bw.WriteBoolean(m_enablePinchDetection); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); m_pinchDetectionEnabledParticles.Write(s, bw); bw.WriteSingle(m_toAnimPeriod); bw.WriteSingle(m_toSimPeriod); bw.WriteBoolean(m_drivePinchedParticlesToReferenceMesh); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); s.WriteClassPointer <hclBufferSetupObject>(bw, m_pinchReferenceBufferSetup); bw.WriteSingle(m_collisionTolerance); bw.WriteUInt32(0); m_landscapeCollisionParticleSelection.Write(s, bw); bw.WriteSingle(m_landscapeCollisionParticleRadius); bw.WriteBoolean(m_enableStuckParticleDetection); bw.WriteUInt16(0); bw.WriteByte(0); bw.WriteSingle(m_stuckParticlesStretchFactor); bw.WriteBoolean(m_enableLandscapePinchDetection); bw.WriteSByte(m_landscapePinchDetectionPriority); bw.WriteUInt16(0); bw.WriteSingle(m_landscapePinchDetectionRadius); bw.WriteBoolean(m_enableTransferMotion); bw.WriteUInt16(0); bw.WriteByte(0); m_transferMotionSetupData.Write(s, bw); s.WriteClassPointerArray <hclConstraintSetSetupObject>(bw, m_constraintSetSetups); s.WriteClassArray <hclSimClothSetupObjectPerInstanceCollidable>(bw, m_perInstanceCollidables); bw.WriteUInt64(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclBufferSetupObject>(bw, m_buffer); m_vertexSelection.Write(s, bw); bw.WriteBoolean(m_updateNormals); bw.WriteBoolean(m_updateTangents); bw.WriteBoolean(m_updateBiTangents); bw.WriteUInt32(0); 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); m_vertexSelection.Write(s, bw); m_bendStiffness.Write(s, bw); bw.WriteBoolean(m_useRestPoseConfig); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); }
public virtual void Write(PackFileSerializer s, BinaryWriterEx bw) { s.WriteStringPointer(bw, m_transformName); m_particlesMaxAngle.Write(s, bw); m_particlesMinAngle.Write(s, bw); bw.WriteUInt64(0); s.WriteVector4(bw, m_originBoneSpace); s.WriteVector4(bw, m_axisBoneSpace); m_minAngle.Write(s, bw); m_maxAngle.Write(s, bw); m_stiffness.Write(s, bw); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclSimulationSetupMesh>(bw, m_simulationMesh); m_vertexSelection.Write(s, bw); m_toAnimDelay.Write(s, bw); m_toSimDelay.Write(s, bw); m_toSimMaxDistance.Write(s, bw); bw.WriteSingle(m_toAnimPeriod); bw.WriteSingle(m_toSimPeriod); s.WriteClassPointer <hclBufferSetupObject>(bw, m_referenceBufferSetup); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclTransformSetSetupObject>(bw, m_transformSetSetup); s.WriteClassPointer <hclBufferSetupObject>(bw, m_referenceBufferSetup); s.WriteClassPointer <hclBufferSetupObject>(bw, m_outputBufferSetup); m_vertexSelection.Write(s, bw); bw.WriteBoolean(m_skinNormals); bw.WriteBoolean(m_skinTangents); bw.WriteBoolean(m_skinBiTangents); bw.WriteBoolean(m_useDualQuaternionMethod); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclSimulationSetupMesh>(bw, m_simulationMesh); bw.WriteBoolean(m_createStandardLinks); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); m_vertexSelection.Write(s, bw); m_bendStiffness.Write(s, bw); m_stretchStiffness.Write(s, bw); m_flatnessFactor.Write(s, bw); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclBufferSetupObject>(bw, m_A); s.WriteClassPointer <hclBufferSetupObject>(bw, m_B); s.WriteClassPointer <hclBufferSetupObject>(bw, m_C); m_vertexSelection.Write(s, bw); m_blendWeights.Write(s, bw); bw.WriteBoolean(m_mapToScurve); bw.WriteBoolean(m_blendNormals); bw.WriteBoolean(m_blendTangents); bw.WriteBoolean(m_blendBitangents); bw.WriteUInt32(0); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); bw.WriteUInt32((uint)m_direction); bw.WriteUInt32(0); s.WriteClassPointer <hclSimClothBufferSetupObject>(bw, m_simulationBuffer); m_simulationParticleSelection.Write(s, bw); s.WriteClassPointer <hclBufferSetupObject>(bw, m_displayBuffer); m_displayVertexSelection.Write(s, bw); bw.WriteSingle(m_gatherAllThreshold); bw.WriteBoolean(m_gatherNormals); bw.WriteUInt16(0); 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); m_vertexSelection.Write(s, bw); m_edgeSelection.Write(s, bw); bw.WriteBoolean(m_ignoreHiddenEdges); bw.WriteUInt32(0); bw.WriteUInt16(0); bw.WriteByte(0); m_stiffness.Write(s, bw); m_allowedCompression.Write(s, bw); m_allowedStretching.Write(s, bw); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclBufferSetupObject>(bw, m_inputBufferSetupObject); m_inputTriangleSelection.Write(s, bw); s.WriteClassPointer <hclBufferSetupObject>(bw, m_outputBufferSetupObject); m_outputVertexSelection.Write(s, bw); m_influenceRadiusPerVertex.Write(s, bw); bw.WriteUInt32((uint)m_scaleNormalBehaviour); bw.WriteUInt32(m_maxTrianglesPerVertex); bw.WriteSingle(m_minimumTriangleWeight); bw.WriteBoolean(m_deformNormals); bw.WriteBoolean(m_deformTangents); bw.WriteBoolean(m_deformBiTangents); bw.WriteBoolean(m_useMeshTopology); }
public override void Write(PackFileSerializer s, BinaryWriterEx bw) { base.Write(s, bw); s.WriteStringPointer(bw, m_name); s.WriteClassPointer <hclSimulationSetupMesh>(bw, m_simulationMesh); m_movableParticlesSelection.Write(s, bw); m_fixedParticlesSelection.Write(s, bw); m_rigidFactor.Write(s, bw); m_stiffness.Write(s, bw); s.WriteVector4(bw, m_stretchDirection); bw.WriteBoolean(m_useStretchDirection); bw.WriteBoolean(m_useMeshTopology); bw.WriteBoolean(m_allowDynamicLinks); bw.WriteBoolean(m_useTopologicalStretchDistance); bw.WriteUInt64(0); bw.WriteUInt32(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 <hclBufferSetupObject>(bw, m_referenceBufferSetup); m_vertexSelection.Write(s, bw); m_maximumDistance.Write(s, bw); m_minNormalDistance.Write(s, bw); m_maxNormalDistance.Write(s, bw); bw.WriteSingle(m_stiffness); bw.WriteUInt32((uint)m_localRangeShape); bw.WriteBoolean(m_useMinNormalDistance); bw.WriteBoolean(m_useMaxNormalDistance); bw.WriteUInt32(0); bw.WriteUInt16(0); }