FSO.LotView.Components.AvatarComponent.GetSLOTPosition C# (CSharp) 메소드

GetSLOTPosition() 공개 메소드

public GetSLOTPosition ( int slot ) : Vector3
slot int
리턴 Vector3
        public override Vector3 GetSLOTPosition(int slot)
        {
            var handpos = Avatar.Skeleton.GetBone("R_FINGER0").AbsolutePosition / 3.0f;
            return Vector3.Transform(new Vector3(handpos.X, handpos.Z, handpos.Y), Matrix.CreateRotationZ((float)(RadianDirection+Math.PI))) + this.Position - new Vector3(0.5f, 0.5f, 0f);
        }