C# Класс SFML.Graphics.Glsl.Vec4

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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