public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_name = des.ReadStringPointer(br); m_inputBufferSetupObject = des.ReadClassPointer <hclBufferSetupObject>(br); m_inputTriangleSelection = new hclTriangleSelectionInput(); m_inputTriangleSelection.Read(des, br); m_outputTransformSetSetupObject = des.ReadClassPointer <hclTransformSetSetupObject>(br); m_deformedBones = des.ReadStringPointerArray(br); m_maxTrianglesPerBone = br.ReadUInt32(); m_minimumTriangleWeight = br.ReadSingle(); }
public override void Read(PackFileDeserializer des, BinaryReaderEx br) { base.Read(des, br); m_name = des.ReadStringPointer(br); m_inputBufferSetupObject = des.ReadClassPointer <hclBufferSetupObject>(br); m_inputTriangleSelection = new hclTriangleSelectionInput(); m_inputTriangleSelection.Read(des, br); m_outputBufferSetupObject = des.ReadClassPointer <hclBufferSetupObject>(br); m_outputVertexSelection = new hclVertexSelectionInput(); m_outputVertexSelection.Read(des, br); m_influenceRadiusPerVertex = new hclVertexFloatInput(); m_influenceRadiusPerVertex.Read(des, br); m_scaleNormalBehaviour = (ScaleNormalBehaviour)br.ReadUInt32(); m_maxTrianglesPerVertex = br.ReadUInt32(); m_minimumTriangleWeight = br.ReadSingle(); m_deformNormals = br.ReadBoolean(); m_deformTangents = br.ReadBoolean(); m_deformBiTangents = br.ReadBoolean(); m_useMeshTopology = br.ReadBoolean(); }