Small World Engine API Reference - v0.46.1
    Preparing search index...

    Interface Intersection

    Represents an intersection result from a raycast.

    interface Intersection {
        distance: number;
        object: Object3D;
    }
    Index

    Properties

    Properties

    distance: number

    Distance from the ray origin to the intersection point.

    object: Object3D

    The intersected object.