Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Set(float, float, float, float)

Set x, y, z and w components of an existing Vector4.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void Set(float newX, float newY, float newZ, float newW)

Parameters

newX

The new x component.

newY

The new y component.

newZ

The new z component.

newW

The new w component.