C# 클래스 SFML.Graphics.Glsl.Vec4

파일 보기 프로젝트 열기: SFML/SFML.Net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
W float
X float
Y float
Z float

공개 메소드들

메소드 설명
Vec4 ( Color color ) : System.Runtime.InteropServices

Construct the Vec4 from a Color

The Color's values will be normalized from 0..255 to 0..1

Vec4 ( float x, float y, float z, float w ) : System.Runtime.InteropServices

Construct the Vec4 from its coordinates

메소드 상세

Vec4() 공개 메소드

Construct the Vec4 from a Color
The Color's values will be normalized from 0..255 to 0..1
public Vec4 ( Color color ) : System.Runtime.InteropServices
color Color A SFML to be translated to a 4D floating-point vector
리턴 System.Runtime.InteropServices

Vec4() 공개 메소드

Construct the Vec4 from its coordinates
public Vec4 ( float x, float y, float z, float w ) : System.Runtime.InteropServices
x float X coordinate
y float Y coordinate
z float Z coordinate
w float W coordinate
리턴 System.Runtime.InteropServices

프로퍼티 상세

W 공개적으로 프로퍼티

Projective/Homogenous component of the vector
public float W
리턴 float

X 공개적으로 프로퍼티

Horizontal component of the vector
public float X
리턴 float

Y 공개적으로 프로퍼티

Vertical component of the vector
public float Y
리턴 float

Z 공개적으로 프로퍼티

Depth component of the vector
public float Z
리턴 float