Bitbybit Docs
    Preparing search index...

    Class RecipeElementsColourDto<T> (Inputs.Draw)

    Elements of a drawn recipe to show in one color, or to give back their own, by the values of their element tag.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionaldrawn: T
      • Optionalkeys: string[]
      • Optionalcolour: string
      • Optionalopacity: number

      Returns RecipeElementsColourDto<T>

    Properties

    drawn: T

    The drawn recipe, as drawing its meshes returned it.

    undefined
    
    keys: string[]

    The elements, by the values of their element tag, such as global ids.

    undefined
    
    colour?: string

    The color to show them in; left out, each takes its own color back.

    undefined
    

    true

    opacity?: number

    The opacity that color is shown with, from 0 to 1; it shows only in an element drawn see-through already.

    1
    

    0

    1

    0.1