Bitbybit Docs
    Preparing search index...

    Class GridDto (Inputs.Frame)

    The counts and spacings of the grid of frames frame.grid lays out in the plane of frame, each turned the same way as frame.

    Index

    Constructors

    • Parameters

      • Optionalframe: Bit.Inputs.Base.Frame
      • OptionalcountX: number
      • OptionalcountY: number
      • OptionalspacingX: number
      • OptionalspacingY: number
      • Optionalcentered: boolean

      Returns GridDto

    Properties

    The frame whose plane and axes the grid follows; left out, the world frame.

    undefined
    

    true

    countX?: number

    How many frames along the X axis.

    3
    

    1

    Infinity

    1

    countY?: number

    How many frames along the Y axis.

    3
    

    1

    Infinity

    1

    spacingX?: number

    The distance between neighbours along the X axis, in model units.

    2
    

    -Infinity

    Infinity

    0.1

    spacingY?: number

    The distance between neighbours along the Y axis, in model units.

    2
    

    -Infinity

    Infinity

    0.1

    centered?: boolean

    When true the grid is centered on the frame's origin; otherwise it starts there and runs along the X and Y axes.

    false