TressFXLib.HairStrandVertex.GetTressFXPosition C# (CSharp) 메소드

GetTressFXPosition() 공개 메소드

Creates a 4-component tressfx position vector. Tressfx uses the first 3 components for the actual world position (XYZ) and the fourth component as "movable flag". If the movable flag is 0, the hair is immovable. If it is > 0 it is movable.
public GetTressFXPosition ( ) : System.Vector4
리턴 System.Vector4
        public Vector4 GetTressFXPosition()
        {
            return new Vector4(this.position, (this.isMovable ? 1 : 0));
        }