Georgios Karnas cb10477324 Squash+Merge glTF feature branch (#877)
glTF docs (#809)
glTF instantiation and Scenegraph improvements (#810)
GLTF PBR example simplifications (#849)
GLTF scenegraph cleanup (#848)
Add GLTF example with GLTF-loader working (#857)
Add model selector in glTF example (#863)
Fix for #865 Buffer accessor does not work as expected (#872)
glTF: material and texture loading fixes (#866)
2019-02-04 19:19:31 -08:00

432 B

Camera

Holds a projection matrix that is positioned in a scenegraph so that it can follow parent transformations.

Inherits from ScenegraphNode.

Fields

projectionMatrix

Methods

constructor(props : Object)

Creates a new Camera instance.

  • props - See Camera.setProps for valid props.

setProps(props: Object)

  • props.projectionMatrix

See ScenegraphNode.setProps for additional valid props.