docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Geometry Operators

    Perform geometric calculations and transformations.

    Page Description
    Area (Circle) Calculate the area of a circle.
    Change Space Convert a vector from local space to world space.
    Distance (Line) Calculate the distance between a position and the closest point on a line.
    Distance (Plane) Calculate the distance between a position and the closest point on a plane.
    Distance (Sphere) Calculate the distance between a position and the closest point on a sphere.
    InvertTRS (Matrix) Invert a matrix that contains translation, rotation, and scaling.
    Transform (Direction) Change the position, rotation, or scale of a direction vector.
    Transform (Matrix) Change the position, rotation, or scale of a matrix.
    Transform (Position) Change the position, rotation, or scale of a position.
    Transform (Vector) Change the position, rotation, or scale of a vector.
    Transform (Vector4) Change the position, rotation, or scale of a Vector4.
    Transpose (Matrix) Flip a matrix across its diagonal, to swap columns with rows.
    Volume (Axis Aligned Box) Calculate the volume of an axis-aligned box.
    Volume (Cone) Calculate the volume of a cone.
    Volume (Cylinder) Calculate the volume of a cylinder.
    Volume (Oriented Box) Calculate the volume of an oriented box.
    Volume (Sphere) Calculate the volume of a sphere.
    Volume (Torus) Calculate the volume of a torus.

    Additional resources

    • VFX type reference
    In This Article
    Back to top
    Copyright © 2025 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)