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 567c0d5 commit cb15961
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions documentation/Scene.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ The camera captures the scene and feeds data into the renderer.
### Methods

#### .lookAt(Vector3) .lookAt(x, y, z)
Rotates the model to face the point in world space. Use this within the animationLoop to always face the position regardless of animations or similar.
Rotates the camera to face the point in world space. Use this within the animationLoop to always face the position regardless of animations or similar.

#### .animate(Object) .animate(String)
Animates the model with the specified properties.
Animates the camera with the specified properties.
If the argument is a string instead of an object, Framer Form expects it to be a State-name. Exactly as the regular Framer Animation-API.

`options` - Object - If argument is an object, you may specify an options-object with following properties:
Expand Down Expand Up @@ -112,5 +112,5 @@ If the argument is a string instead of an object, Framer Form expects it to be a
- 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.

#### .stateSwitch(String)
#### .stateSwitch(StateName: String)
Instantly applies the specified state's properties.

0 comments on commit cb15961

Please sign in to comment.