CameraModifierHandle
Defined in: renderer/src/CameraModifiers.ts:15
Removable contribution owned by a CameraModifierHost.
Properties
Section titled “Properties”active
Section titled “active”
readonlyactive:boolean
Defined in: renderer/src/CameraModifiers.ts:17
Whether this contribution is still active.
Methods
Section titled “Methods”remove()
Section titled “remove()”remove():
void
Defined in: renderer/src/CameraModifiers.ts:25
Remove only this contribution. Safe to call more than once.
Returns
Section titled “Returns”void
setPosition()
Section titled “setPosition()”setPosition(
offset):void
Defined in: renderer/src/CameraModifiers.ts:19
Replace this contribution’s additive position offset.
Parameters
Section titled “Parameters”offset
Section titled “offset”Vec2Like
Returns
Section titled “Returns”void
setRotation()
Section titled “setRotation()”setRotation(
radians):void
Defined in: renderer/src/CameraModifiers.ts:21
Replace this contribution’s additive rotation offset.
Parameters
Section titled “Parameters”radians
Section titled “radians”number
Returns
Section titled “Returns”void
setZoom()
Section titled “setZoom()”setZoom(
factor):void
Defined in: renderer/src/CameraModifiers.ts:23
Replace this contribution’s multiplicative zoom factor.
Parameters
Section titled “Parameters”factor
Section titled “factor”number
Returns
Section titled “Returns”void