Vector3

unityengine.Vector3 (extern class)

Unity Vector3 struct extern binding for Ceramic. Represents 3D vectors and points with x, y, and z components.

Used throughout Unity for 3D positions, directions, scales, and other spatial data. This minimal binding provides the properties and constructor needed by the Ceramic backend.

Instance Members

unity
x: Single

The x component of the vector. Typically represents left/right in world space. Read-only in this binding.


unity
y: Single

The y component of the vector. Typically represents up/down in world space. Read-only in this binding.


unity
z: Single

The z component of the vector. Typically represents forward/backward in world space. Read-only in this binding.


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

Creates a new Vector3 with the given x, y, and z components.

Name Type Description
x Single The x component
y Single The y component
z Single The z component

Metadata

Name Parameters
:nativeGen -