From a1f73e26c430c32525d636711383212681c25187 Mon Sep 17 00:00:00 2001 From: Emil Widlund Date: Tue, 8 May 2018 13:59:36 +0200 Subject: [PATCH] Update Scene.md --- documentation/Scene.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/Scene.md b/documentation/Scene.md index 128f3f7..729ecd1 100644 --- a/documentation/Scene.md +++ b/documentation/Scene.md @@ -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