Bitbybit Docs
    Preparing search index...

    Class BaseRayDto (Inputs.BabylonRay)

    Feeds babylon.ray.createRay with where a ray starts, which way it points and, optionally, how far it reaches.

    Index

    Constructors

    Properties

    Constructors

    Properties

    The point the ray starts from

    direction: Vector3

    The way the ray points, as [x, y, z]

    length?: number

    How far the ray reaches, in scene units; 0 or left out makes it unlimited

    true