Options
All
  • Public
  • Public/Protected
  • All
Menu

ScenesApi - object-oriented interface

export

Hierarchy

Index

Constructors

constructor

Methods

createScene

  • Create a scene. Once created, add scene items via the createSceneItem API. For details, see our Render static scenes guide.

    throws

    {RequiredError}

    memberof

    ScenesApi

    Parameters

    Returns Promise<AxiosResponse<Scene, any>>

deleteScene

  • Delete a scene.

    throws

    {RequiredError}

    memberof

    ScenesApi

    Parameters

    Returns Promise<AxiosResponse<void, any>>

getQueuedScene

getScene

  • Get a scene by ID.

    throws

    {RequiredError}

    memberof

    ScenesApi

    Parameters

    Returns Promise<AxiosResponse<Scene, any>>

getScenes

  • Get scenes.

    throws

    {RequiredError}

    memberof

    ScenesApi

    Parameters

    Returns Promise<AxiosResponse<SceneList, any>>

renderScene

  • Get a rendered image of a scene. If only a single pixel is returned, ensure the scene is in the commit state and contains scene items.

    throws

    {RequiredError}

    memberof

    ScenesApi

    Parameters

    Returns Promise<AxiosResponse<any, any>>

updateScene

  • Update a scene camera and/or state. Once updated, view the scene via the renderScene API or with the Viewer SDK. For details, see our Render static scenes guide.

    throws

    {RequiredError}

    memberof

    ScenesApi

    Parameters

    Returns Promise<AxiosResponse<Scene, any>>