Skip to main content

CameraProps

interface CameraProps extends NodeProps

Properties

cache

Inherited from NodeProps.cache

cachePadding

Controls the padding of the cached canvas used by this node.

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from NodeProps.cachePadding

cachePaddingBottom

Controls the padding of the cached canvas used by this node.

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from NodeProps.cachePaddingBottom

cachePaddingLeft

Controls the padding of the cached canvas used by this node.

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from NodeProps.cachePaddingLeft

cachePaddingRight

Controls the padding of the cached canvas used by this node.

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from NodeProps.cachePaddingRight

cachePaddingTop

Controls the padding of the cached canvas used by this node.

By default, the size of the cache is determined based on the bounding box of the node and its children. That includes effects such as stroke or shadow. This property can be used to expand the cache area further. Usually used to account for custom effects created by shaders.

Inherited from NodeProps.cachePaddingTop

children

Inherited from NodeProps.children

composite

Inherited from NodeProps.composite

compositeOperation

compositeOperation?: SignalValueGlobalCompositeOperation
Inherited from NodeProps.compositeOperation

filters

Inherited from NodeProps.filters

key

key?: string
Inherited from NodeProps.key

opacity

Inherited from NodeProps.opacity

position

Inherited from NodeProps.position

ref

Inherited from NodeProps.ref

rotation

Inherited from NodeProps.rotation

scale

Inherited from NodeProps.scale

scaleX

Inherited from NodeProps.scaleX

scaleY

Inherited from NodeProps.scaleY

scene

The scene node that the camera is rendering.


shaders

shaders?: PossibleShaderConfig
Experimental
This is an experimental feature. The behavior and API may change drastically between minor releases.
Inherited from NodeProps.shaders

shadowBlur

Inherited from NodeProps.shadowBlur

shadowColor

Inherited from NodeProps.shadowColor

shadowOffset

Inherited from NodeProps.shadowOffset

shadowOffsetX

Inherited from NodeProps.shadowOffsetX

shadowOffsetY

Inherited from NodeProps.shadowOffsetY

skew

Inherited from NodeProps.skew

skewX

Inherited from NodeProps.skewX

skewY

Inherited from NodeProps.skewY

spawner

Deprecated

Use children instead.

Inherited from NodeProps.spawner

x

x?: SignalValuenumber
Inherited from NodeProps.x

y

y?: SignalValuenumber
Inherited from NodeProps.y

zIndex

Inherited from NodeProps.zIndex

zoom

The zoom level of the camera.