docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Vector Operators

    Perform vector and matrix calculations.

    Page Description
    Append Vector Operator Combine up to four inputs into a single vector.
    Construct Matrix Operator Construct a 4x4 matrix from four Vector4 values.
    Cross Product Operator Calculate the vector that's perpendicular to two input vectors
    Distance Operator Calculate the distance between two points.
    Dot Product Operator Determine whether two normalized vectors point in the same direction.
    Length Operator Calculate the length of a vector.
    Look At Operator Calculate the transform required to rotate a particle to look at a position.
    Normalize Operator Normalize a vector.
    Rotate 2D Operator Rotate a point in 2D around a center point.
    Rotate 3D Operator Rotate a point in 3D around a center point.
    Sample Bezier Operator Return information about a curve.
    Squared Distance Operator Calculate the square of the distance between two points.
    Squared Length Operator Calculate the square of the length of a vector.
    Swizzle Operator Rearrange the components of an input vector.

    Additional resources

    • Math Operators
    • Geometry Operators
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)