Interface IThemeOptions

Theme Options



id: string
meshes: DieDefinition<string>

3D Model URIs (FBX Files)

available_dice: IAvailableDie[] | IDieType[]

Dice available in this theme. This will determine what die are rendered as available in the set.

uniforms: { [uniform: string]: IUniform }

Type declaration

  • [uniform: string]: IUniform
sizes: DieDefinition<number>

Relative sizes of dice. This allows us to shrink/grow certain die in a set (like a gigantic d20) All die default to "1"

physics?: { inertia?: DieDefinition<number>; weight?: DieDefinition<number> }

Type declaration

sounds?: ISound[]
values: { d4: number[]; d6: number[]; d8: number[]; d10: number[]; d10x: number[]; d12: number[]; d20: number[] }

Dice Values. Used to support custom values such as letters, emojis, graphics, and more.

Type declaration

  • d4: number[]
  • d6: number[]
  • d8: number[]
  • d10: number[]
  • d10x: number[]
  • d12: number[]
  • d20: number[]

Generated using TypeDoc