Share

Alias API changes (2025.1)

We have made some updates to the Alias API, including additions to the AlEditor, AlFunction, AlPickable, and AlSurface classes.

AlEditor

We've made the following updates to the AlEditor class:

  • AlEditor::endGroup() - Lets you end a collapsible widget group.
  • AlEditor::addReadOnlyString() - Adds an read only string to the bottom of the editor.
  • AlEditor::addImages() - Adds images to editors, which can be used as preview images.
  • AlEditor::setVisible() - Allows widgets to be made visible and invisible in the user interface.
  • AlEditor::setReadOnlyString() - Sets a read only string to the passed in value.
  • AlEditor::addTextButton() - Adds a button widget to the editor, which will execute the callback function when selected.

For more information, see AlEditor.

AlFunction

We've added two new methods to the AlFunction class:

  • AlContinuousFunction::updatePrompt() - Sets a static prompt instead of a computable prompt.
  • AlContinuousFunction::getPromptInput() - Gets the prompt input.

For more information, see AlContinuousFunction.

AlPickable

Updates to the AlPickable class now provide optional calls to pick and unpick an array of AlPickable pointers. For more information, see AlPickable.

AlSurface

A new AlSurface::assignSwitchShader() method has been added to AlSurface class. For more information, see AlSurface.

Was this information helpful?