Vector4
Unity Vector4 struct extern binding for Ceramic. Represents 4D vectors with x, y, z, and w components.
Commonly used for shader parameters, homogeneous coordinates, and RGBA color values in certain contexts. This minimal binding provides the properties and constructor used by Ceramic.
Instance Members
The x component of the vector. First component in the 4D vector. Read-only in this binding.
The y component of the vector. Second component in the 4D vector. Read-only in this binding.
The z component of the vector. Third component in the 4D vector. Read-only in this binding.
The w component of the vector. Fourth component, often used for homogeneous coordinates or alpha channel in color representations. Read-only in this binding.
Creates a new Vector4 with the given components.
Name | Type | Description |
---|---|---|
x |
Single | The x component |
y |
Single | The y component |
z |
Single | The z component |
w |
Single | The w component |
Metadata
Name | Parameters |
---|---|
:nativeGen |
- |