Skip to content

CameraRig updates! (v0.2.2)

Compare
Choose a tag to compare
@trusktr trusktr released this 17 Feb 18:50
· 608 commits to develop since this release

New features:

  • CameraRig.active property (<lume-camera-rig> active attribute) - When the property is set to true, the CameraRig's camera becomes the scene's active camera.
  • CameraRig.dollyFactor property (<lume-camera-rig> dolly-factor attribute) - A number that that multiplies the speed that the CamerRig will dolly the camera in and out when scrolling (zooming). Set it to a lower number to make the camera dolly slower, for example.
  • The type definition for the has attribute has been added. F.e. <lume-mesh has="phong-material">.