ReferenceScripting APICameraComponentsetHeight
CameraComponent.setHeight
methodRaises or lowers it.
| Name | setHeight |
|---|---|
| Kind | method of CameraComponent |
| Called as | cameraComponent.setHeight(…) |
| Since | 0.4 |
Syntax
setHeight( degrees: number, seconds?: number): Promise<boolean>Parameters
| Name | Type | Description |
|---|---|---|
degrees | number | How high it looks down from |
seconds | number | Optional. Over how long |
Returns
Promise<boolean>: a promise of true when it's there.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.