gpu-curtains
    Preparing search index...

    Interface DOMFrustumParams

    An object defining all possible DOMFrustum class instancing parameters

    interface DOMFrustumParams {
        boundingBox?: Box3;
        modelViewProjectionMatrix?: Mat4;
        containerBoundingRect?: DOMElementBoundingRect;
        DOMFrustumMargins?: RectCoords;
        onReEnterView?: () => void;
        onLeaveView?: () => void;
    }
    Index

    Properties

    boundingBox?: Box3

    our 3D Object bounding box, i.e. size in world space before any transform. Usually defined by a Geometry

    modelViewProjectionMatrix?: Mat4

    model view projection matrix to use for frustum calculations

    containerBoundingRect?: DOMElementBoundingRect

    the bounding rectangle to check against

    DOMFrustumMargins?: RectCoords

    additional margins to add to containerBoundingRect

    onReEnterView?: () => void

    callback to run when the projectedBoundingRect reenters the view frustum

    onLeaveView?: () => void

    callback to run when the projectedBoundingRect leaves the view frustum