CameraProps
interface CameraProps extends NodeProps
Properties
cache
cache?: SignalValueboolean
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
.
NodeProps.cachePadding
cachePaddingBottom
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.cachePaddingBottom
cachePaddingLeft
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.cachePaddingLeft
cachePaddingRight
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.cachePaddingRight
cachePaddingTop
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.cachePaddingTop
children
Inherited from NodeProps.children
composite
composite?: SignalValueboolean
NodeProps.composite
compositeOperation
compositeOperation?: SignalValueGlobalCompositeOperation
NodeProps.compositeOperation
filters
Inherited from NodeProps.filters
key
key?: string
NodeProps.key
opacity
opacity?: SignalValuenumber
NodeProps.opacity
position
position?: SignalValuePossibleVector2number
NodeProps.position
ref
ref?: ReferenceReceiverany
NodeProps.ref
rotation
rotation?: SignalValuenumber
NodeProps.rotation
scale
scale?: SignalValuePossibleVector2number
NodeProps.scale
scaleX
scaleX?: SignalValuenumber
NodeProps.scaleX
scaleY
scaleY?: SignalValuenumber
NodeProps.scaleY
scene
The scene node that the camera is rendering.
shaders
shaders?: PossibleShaderConfig
NodeProps.shaders
shadowBlur
shadowBlur?: SignalValuenumber
NodeProps.shadowBlur
shadowColor
Inherited from NodeProps.shadowColor
shadowOffset
Inherited from NodeProps.shadowOffset
shadowOffsetX
shadowOffsetX?: SignalValuenumber
NodeProps.shadowOffsetX
shadowOffsetY
shadowOffsetY?: SignalValuenumber
NodeProps.shadowOffsetY
skew
skew?: SignalValuePossibleVector2number
NodeProps.skew
skewX
skewX?: SignalValuenumber
NodeProps.skewX
skewY
skewY?: SignalValuenumber
NodeProps.skewY
spawner
Deprecated
Use children
instead.
NodeProps.spawner
x
x?: SignalValuenumber
NodeProps.x
y
y?: SignalValuenumber
NodeProps.y
zIndex
zIndex?: SignalValuenumber
NodeProps.zIndex
zoom
zoom?: SignalValuenumber
The zoom level of the camera.