Search Results for

    Show / Hide Table of Contents

    Class BoxColliderExtensions

    UnityEngine.BoxCollider Based Extension Methods

    Inheritance
    System.Object
    BoxColliderExtensions
    Namespace: GDX
    Syntax
    [VisualScriptingCompatible((short)2)]
    public static class BoxColliderExtensions

    Methods

    | Improve this Doc View Source

    ContainsPosition(BoxCollider, Vector3)

    Is the worldPosition inside of the targetBoxCollider?

    Declaration
    public static bool ContainsPosition(this BoxCollider targetBoxCollider, Vector3 worldPosition)
    Parameters
    Type Name Description
    UnityEngine.BoxCollider targetBoxCollider

    The UnityEngine.BoxCollider to use for evaluation.

    UnityEngine.Vector3 worldPosition

    A UnityEngine.Vector3 point in world space.

    Returns
    Type Description
    System.Boolean

    true/false if the world position is contained within the targetBoxCollider.

    Exceptions
    Type Condition
    UnsupportedRuntimeException

    Not supported on DOTS Runtime.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.