public override void SetExtraInfo(ExtraInfoArrayReadPackage v)
        {
            base.SetExtraInfo(v);

            if (v.FindDelimiterAndSpoolToIt(DelimiterType.BaseTier))
            {
                UniqueId = v.GetNextInt();
            }
        }
Exemplo n.º 2
0
        public override void SetExtraInfo(ExtraInfoArrayReadPackage v)
        {
            base.SetExtraInfo(v);

            if (v.FindDelimiterAndSpoolToIt(DelimiterType.BaseTier))
            {
                Position               = new Vector3(v.GetNextFloat(), v.GetNextFloat(), v.GetNextFloat());
                Angle                  = new Vector3(v.GetNextFloat(), v.GetNextFloat(), v.GetNextFloat());
                Scale                  = new Vector3(v.GetNextFloat(), v.GetNextFloat(), v.GetNextFloat());
                SelectIDMemory[0]      = v.GetNextInt();
                SelectIDMemory[1]      = v.GetNextInt();
                SelectMeshListType     = (MeshListType)v.GetNextInt();
                SelectMaterialListType = (MaterialListType)v.GetNextInt();
                VertexColorIsOn        = v.GetNextBool();
                BlockIsOn              = v.GetNextBool();
                MeshIsOn               = v.GetNextBool();
            }
        }