Search Results for

    Show / Hide Table of Contents

    Class KaijuAgentsExpand

    Extension method to expand a 2D vector across the X and Z axes to all three axes, setting the Y axis to zero.

    Inheritance
    System.Object
    KaijuAgentsExpand
    Namespace: KaijuSolutions.Agents.Extensions
    Syntax
    public static class KaijuAgentsExpand

    Methods

    Expand(Vector2)

    Expand an XZ vector to all three axes.

    Declaration
    public static Vector3 Expand(this Vector2 vector)
    Parameters
    Type Name Description
    Vector2 vector

    The vector to expand.

    Returns
    Type Description
    Vector3

    The XZ vector expanded to all three axes.

    In This Article
    Back to top MIT License © 2026 Kaiju Solutions Inc.