Axiom.Serialization.MeshSerializerImpl.ReadAttachmentPoint C# (CSharp) Метод

ReadAttachmentPoint() защищенный Метод

Reads attachment point information from the file.
protected ReadAttachmentPoint ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Результат void
		protected void ReadAttachmentPoint( BinaryReader reader )
		{
			// attachment point name
			string name = ReadString( reader );

			// read and set the position of the bone
			Vector3 position = ReadVector3( reader );

			// read and set the orientation of the bone
			Quaternion q = ReadQuat( reader );

			// create the attachment point
			AttachmentPoint ap = mesh.CreateAttachmentPoint( name, q, position );
		}