Skip to content

Commit

Permalink
Update Scene.md
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund authored May 8, 2018
1 parent 5039597 commit a1f73e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions documentation/Scene.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,10 @@ The camera captures the scene and feeds data into the renderer.
- `autoRotate` - Bool - Enables Auto Orbiting around the target position. Default is `false`
- `autoRotateSpeed` - Number - Specifies the auto rotation speed when auto orbiting. Default is 10.
- `target` - Position - Specifies a position for the camera to orbit around. If you want to orbit around a model, make sure to specify `model.position`. Default is `new THREE.Vector3(0, 0, 0)`

### Methods

#### .stateCycle(StateName: String, StateName: String)
If arguments contain 2 strings, this method will animate between the states
If arguments contain 1 string, this method will animate to the state
If no arguments are specified, this method will cycle through all available states

0 comments on commit a1f73e2

Please sign in to comment.