C# Class SFML.Graphics.Glsl.Vec3

Mostrar archivo Open project: SFML/SFML.Net Class Usage Examples

Public Properties

Property Type Description
X float
Y float
Z float

Public Methods

Method Description
Vec3 ( Vector3f vec ) : System.Runtime.InteropServices

Construct the Vec3 from a standard SFML Vector3f

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

Construct the Vec3 from its coordinates

Method Details

Vec3() public method

Construct the Vec3 from a standard SFML Vector3f
public Vec3 ( Vector3f vec ) : System.Runtime.InteropServices
vec Vector3f A standard SFML 3D vector
return System.Runtime.InteropServices

Vec3() public method

Construct the Vec3 from its coordinates
public Vec3 ( float x, float y, float z ) : System.Runtime.InteropServices
x float X coordinate
y float Y coordinate
z float Z coordinate
return System.Runtime.InteropServices

Property Details

X public_oe property

Horizontal component of the vector
public float X
return float

Y public_oe property

Vertical component of the vector
public float Y
return float

Z public_oe property

Depth component of the vector
public float Z
return float