CameraRig updates! (v0.2.2)
New features:
CameraRig.active
property (<lume-camera-rig>
active
attribute) - When the property is set totrue
, 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">
.