Bitbybit Docs
    Preparing search index...

    Class RecipeElementPickDto<T, M> (Inputs.Draw)

    What a pick hit in a drawn recipe: the mesh, and the triangle or the instance the engine reports for it.

    Type Parameters

    • T
    • M
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T
      • M

      Parameters

      • Optionaldrawn: T
      • Optionalmesh: M
      • Optionaltriangle: number
      • Optionalinstance: number

      Returns RecipeElementPickDto<T, M>

    Properties

    drawn: T

    The drawn recipe, as drawing its meshes returned it.

    undefined
    
    mesh: M

    The mesh the pick hit.

    undefined
    
    triangle?: number

    The triangle the pick hit, which the engine reports for a merged batch.

    undefined
    

    true

    instance?: number

    The instance the pick hit, which the engine reports for instances.

    undefined
    

    true