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

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Vec2 ( Vector2f vec ) : System.Runtime.InteropServices

Construct the Vec2 from a standard SFML Vector2f

Vec2 ( float x, float y ) : System.Runtime.InteropServices

Construct the Vec2 from its coordinates

메소드 상세

Vec2() 공개 메소드

Construct the Vec2 from a standard SFML Vector2f
public Vec2 ( Vector2f vec ) : System.Runtime.InteropServices
vec Vector2f A standard SFML 2D vector
리턴 System.Runtime.InteropServices

Vec2() 공개 메소드

Construct the Vec2 from its coordinates
public Vec2 ( float x, float y ) : System.Runtime.InteropServices
x float X coordinate
y float Y coordinate
리턴 System.Runtime.InteropServices

프로퍼티 상세

X 공개적으로 프로퍼티

Horizontal component of the vector
public float X
리턴 float

Y 공개적으로 프로퍼티

Vertical component of the vector
public float Y
리턴 float