C# 클래스 SFML.Graphics.Vertex

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

공개 프로퍼티들

프로퍼티 타입 설명
Color Color
Position Vector2f
TexCoords Vector2f

공개 메소드들

메소드 설명
ToString ( ) : string

Provide a string describing the object

Vertex ( Vector2f position ) : System.Runtime.InteropServices

Construct the vertex from its position The vertex color is white and texture coordinates are (0, 0).

Vertex ( Vector2f position, Color color ) : System.Runtime.InteropServices

Construct the vertex from its position and color The texture coordinates are (0, 0).

Vertex ( Vector2f position, Color color, Vector2f texCoords ) : System.Runtime.InteropServices

Construct the vertex from its position, color and texture coordinates

Vertex ( Vector2f position, Vector2f texCoords ) : System.Runtime.InteropServices

Construct the vertex from its position and texture coordinates The vertex color is white.

메소드 상세

ToString() 공개 메소드

Provide a string describing the object
public ToString ( ) : string
리턴 string

Vertex() 공개 메소드

Construct the vertex from its position The vertex color is white and texture coordinates are (0, 0).
public Vertex ( Vector2f position ) : System.Runtime.InteropServices
position Vector2f Vertex position
리턴 System.Runtime.InteropServices

Vertex() 공개 메소드

Construct the vertex from its position and color The texture coordinates are (0, 0).
public Vertex ( Vector2f position, Color color ) : System.Runtime.InteropServices
position Vector2f Vertex position
color Color Vertex color
리턴 System.Runtime.InteropServices

Vertex() 공개 메소드

Construct the vertex from its position, color and texture coordinates
public Vertex ( Vector2f position, Color color, Vector2f texCoords ) : System.Runtime.InteropServices
position Vector2f Vertex position
color Color Vertex color
texCoords Vector2f Vertex texture coordinates
리턴 System.Runtime.InteropServices

Vertex() 공개 메소드

Construct the vertex from its position and texture coordinates The vertex color is white.
public Vertex ( Vector2f position, Vector2f texCoords ) : System.Runtime.InteropServices
position Vector2f Vertex position
texCoords Vector2f Vertex texture coordinates
리턴 System.Runtime.InteropServices

프로퍼티 상세

Color 공개적으로 프로퍼티

Color of the vertex
public Color Color
리턴 Color

Position 공개적으로 프로퍼티

2D position of the vertex
public Vector2f Position
리턴 Vector2f

TexCoords 공개적으로 프로퍼티

Coordinates of the texture's pixel to map to the vertex
public Vector2f TexCoords
리턴 Vector2f