Vector4

unityengine.Vector4 (extern class)

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

unity
x: Single

The x component of the vector. First component in the 4D vector. Read-only in this binding.


unity
y: Single

The y component of the vector. Second component in the 4D vector. Read-only in this binding.


unity
z: Single

The z component of the vector. Third component in the 4D vector. Read-only in this binding.


unity
w: Single

The w component of the vector. Fourth component, often used for homogeneous coordinates or alpha channel in color representations. Read-only in this binding.


unity
new(x: Single, y: Single, z: Single, w: Single): Void

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 -