CameraProps
interface CameraProps extends NodeProps
Properties
cache
cache?: SignalValueboolean
NodeProps.cachecachePadding
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.
NodeProps.cachePaddingcachePaddingBottom
cachePaddingBottom?: SignalValuenumber
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.
NodeProps.cachePaddingBottomcachePaddingLeft
cachePaddingLeft?: SignalValuenumber
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.
NodeProps.cachePaddingLeftcachePaddingRight
cachePaddingRight?: SignalValuenumber
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.
NodeProps.cachePaddingRightcachePaddingTop
cachePaddingTop?: SignalValuenumber
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.
NodeProps.cachePaddingTopchildren
Inherited from NodeProps.childrencomposite
composite?: SignalValueboolean
NodeProps.compositecompositeOperation
compositeOperation?: SignalValueGlobalCompositeOperation
NodeProps.compositeOperationfilters
Inherited from NodeProps.filterskey
key?: string
NodeProps.keyopacity
opacity?: SignalValuenumber
NodeProps.opacityposition
position?: SignalValuePossibleVector2number
NodeProps.positionref
ref?: ReferenceReceiverany
NodeProps.refrotation
rotation?: SignalValuenumber
NodeProps.rotationscale
scale?: SignalValuePossibleVector2number
NodeProps.scalescaleX
scaleX?: SignalValuenumber
NodeProps.scaleXscaleY
scaleY?: SignalValuenumber
NodeProps.scaleYscene
The scene node that the camera is rendering.
shaders
shaders?: PossibleShaderConfig
NodeProps.shadersshadowBlur
shadowBlur?: SignalValuenumber
NodeProps.shadowBlurshadowColor
Inherited from NodeProps.shadowColorshadowOffset
Inherited from NodeProps.shadowOffsetshadowOffsetX
shadowOffsetX?: SignalValuenumber
NodeProps.shadowOffsetXshadowOffsetY
shadowOffsetY?: SignalValuenumber
NodeProps.shadowOffsetYskew
skew?: SignalValuePossibleVector2number
NodeProps.skewskewX
skewX?: SignalValuenumber
NodeProps.skewXskewY
skewY?: SignalValuenumber
NodeProps.skewYspawner
Deprecated
Use children instead.
NodeProps.spawnerx
x?: SignalValuenumber
NodeProps.xy
y?: SignalValuenumber
NodeProps.yzIndex
zIndex?: SignalValuenumber
NodeProps.zIndexzoom
zoom?: SignalValuenumber
The zoom level of the camera.