Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AvPrimitiveProps

Props for AvPrimitive

Hierarchy

  • AvPrimitiveProps

Index

Properties

Optional color

color: string

The color of the primitive

default

white

Optional depth

depth: number

The depth of the primitive.

default

1.0 meter

Optional height

height: number

The height of the primitive.

default

1.0 meter

Optional originX

The left/right alignment of the primitive.

default

Center

Optional originY

The vertical alignment of the primitive.

default

Center

Optional originZ

The forward/back alignment of the primitive.

default

Center

Optional overlayOnly

overlayOnly: boolean

Only the parts of the model that are "on top" of another Aardvark-rendered pixel should be drawn. This can be used to draw Aardvark replacements for things that other Aardvark-drawn geometry may be hiding, such as hand models.

default

false

Optional radius

radius: number

If radius is set, width, height, and depth all default to this value. Otherwise, it has no effect.

default

none

type

What kind of primitive to display

Optional width

width: number

The width of the primitive.

default

1.0 meter

Generated using TypeDoc