Divooka Reference

Lookdev Staging

4 nodes

On this page 4

Add Asset Library

Function

Adds a library folder of one's own, laid out as the online library is (lib/v1/models/<source>/<id>/asset.json and its files), to look through for lib:// ids after the mirror.

Signature
AddAssetLibrary(folder: Text) -> Text
string AddAssetLibrary(string folder)

Parameters

nametypedefaultdescription
folderText—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Lookdev Staging
Package
Computer Graphics

Lookdev Scene

Function

A Lookdev scene file as a scene: its models, shapes, lights, sky, sun and saved cameras, seen through its last view.

Signature
LookdevScene(path: Text) -> Scene Description
SceneDescription LookdevScene(string path)

Parameters

nametypedefaultdescription
pathText—The scene's .json file, as the web app saves it.

Returns

resultScene Description
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Lookdev Staging
Package
Computer Graphics

Lookdev Scene Notes

Function

What a Lookdev scene file leaves out or approximates when it is opened as a scene, one sentence each.

Signature
LookdevSceneNotes(path: Text) -> Text Array
string[] LookdevSceneNotes(string path)

Parameters

nametypedefaultdescription
pathText—

Returns

resultText Array
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Lookdev Staging
Package
Computer Graphics

Use Asset Library

Function

Points lib:// ids at a local mirror of the asset library (the folder holding lib/); without one, Poly Haven's assets are fetched directly.

Signature
UseAssetLibrary(folder: Text) -> Text
string UseAssetLibrary(string folder)

Parameters

nametypedefaultdescription
folderText—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Lookdev Staging
Package
Computer Graphics