Reference Source
public class | source

SceneState

Saves a snapshot of the visual state of a Scene.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

camera: {"eye": *, "look": *, "up": *, "projection": *}

public
public
public
public
public
public
public
public
public
public

Method Summary

Public Methods
public

restore(scene: Scene)

Restores a Scene to state previously captured with SceneState#save.

public

Restores a Scene's Camera to its state previously captured with SceneState#save.

public

Restores a Scene's Entity's to their state previously captured with SceneState#save.

public

save(scene: Scene)

Saves the state of a Scene.

Public Constructors

public constructor() source

Public Members

public camera: {"eye": *, "look": *, "up": *, "projection": *} source

public numObjects: number source

public objectsClippable: *[] source

public objectsColorize: *[] source

public objectsEdges: *[] source

public objectsHighlighted: *[] source

public objectsOpacity: *[] source

public objectsPickable: *[] source

public objectsSelected: *[] source

public objectsVisible: *[] source

public objectsXrayed: *[] source

Public Methods

public restore(scene: Scene) source

Restores a Scene to state previously captured with SceneState#save.

Params:

NameTypeAttributeDescription
scene Scene

The scene.

public restoreCamera(scene: Scene) source

Restores a Scene's Camera to its state previously captured with SceneState#save.

Params:

NameTypeAttributeDescription
scene Scene

The scene.

public restoreObjects(scene: Scene) source

Restores a Scene's Entity's to their state previously captured with SceneState#save.

Params:

NameTypeAttributeDescription
scene Scene

The scene.

public save(scene: Scene) source

Saves the state of a Scene.

Params:

NameTypeAttributeDescription
scene Scene

The scene.