C# Class SFML.Graphics.Glsl.Ivec4

ファイルを表示 Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
W int
X int
Y int
Z int

Public Methods

Method Description
Ivec4 ( Color color ) : System.Runtime.InteropServices

Construct the Ivec4 from a Color

Ivec4 ( int x, int y, int z, int w ) : System.Runtime.InteropServices

Construct the Ivec4 from its coordinates

Method Details

Ivec4() public method

Construct the Ivec4 from a Color
public Ivec4 ( Color color ) : System.Runtime.InteropServices
color Color A SFML to be translated to a 4D integer vector
return System.Runtime.InteropServices

Ivec4() public method

Construct the Ivec4 from its coordinates
public Ivec4 ( int x, int y, int z, int w ) : System.Runtime.InteropServices
x int X coordinate
y int Y coordinate
z int Z coordinate
w int W coordinate
return System.Runtime.InteropServices

Property Details

W public_oe property

Projective/Homogenous component of the vector
public int W
return int

X public_oe property

Horizontal component of the vector
public int X
return int

Y public_oe property

Vertical component of the vector
public int Y
return int

Z public_oe property

Depth component of the vector
public int Z
return int