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

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

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

			ushort boneHandle = ReadUShort( 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 = skeleton.CreateAttachmentPoint( name, boneHandle, q, position );
		}