Unity 6.3
0 онлайн 78 гостей 3 в системе
Вход

Vector4.operator /

Declaration

public static Vector4 operator /(Vector4 a, float d);

Описание

Делит вектор на число.

Делит каждый компонент a на число d.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { //Prints (0.5, 1.0, 1.5, 2.5) print(new Vector4(1, 2, 3, 5) / 2); } }