Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface used to define custom inspectable properties. This interface is used by the inspector to display custom property grids

see

https://doc.babylonjs.com/toolsAndResources/inspector#extensibility

Hierarchy

  • IInspectable

Index

Properties

accept?: string

Gets the extensions to accept when using "FileButton" mode. The value should be a comma separated string with the list of extensions to accept e.g., ".jpg, .png, .tga, .dds, .env".

label: string

Gets the label to display

max?: number

Gets the maximum value of the property when using in "slider" mode

min?: number

Gets the minimum value of the property when using in "slider" mode

Gets the list of options when using "Option" mode

propertyName: string

Gets the name of the property to edit

step?: number

Gets the setp to use when using in "slider" mode

Gets the type of the editor to use

Methods

  • callback(): void
  • Gets the callback function when using "Button" mode

    Returns void

  • fileCallback(file: File): void
  • Gets the callback function when using "FileButton" mode

    Parameters

    • file: File

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme