Content-Length: 17737 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Vector4.Index_operator.html
Access the x, y, z, w components using [0], [1], [2], [3] respectively.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { Vector4 p = new Vector4(); p[3] = 5; // the same as p.w = 5 } }
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Vector4.Index_operator.html
Alternative Proxies: