Preparing search index...
The search index is not available
API
API
Render2dTextureOptions
Interface Render2dTextureOptions
interface
Render2dTextureOptions
{
autoCanvasSize
?:
boolean
;
canvasHeight
?:
number
;
canvasWidth
?:
number
;
colorSpace
?:
ColorSpace
;
elements
?:
Element
<
ElementProps
>
|
Element
<
ElementProps
>
[]
;
pointerEvents
?:
boolean
;
render2dObject
?:
Render2dType
;
sharedCanvas
?:
boolean
;
}
Index
Properties
auto
Canvas
Size?
canvas
Height?
canvas
Width?
color
Space?
elements?
pointer
Events?
render2d
Object?
shared
Canvas?
Properties
Optional
auto
Canvas
Size
auto
Canvas
Size
?:
boolean
是否根据绘制的内容计算渲染的大小
Optional
canvas
Height
canvas
Height
?:
number
绘布高
Optional
canvas
Width
canvas
Width
?:
number
绘布宽
Optional
color
Space
color
Space
?:
ColorSpace
纹理颜色空间。默认srgb
Optional
elements
elements
?:
Element
<
ElementProps
>
|
Element
<
ElementProps
>
[]
绘制的元素,元素组
Optional
pointer
Events
pointer
Events
?:
boolean
是否有事件
Optional
render2d
Object
render2d
Object
?:
Render2dType
渲染对象
Optional
shared
Canvas
shared
Canvas
?:
boolean
是否为了提高效率共享一个canvas
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
auto
Canvas
Size
canvas
Height
canvas
Width
color
Space
elements
pointer
Events
render2d
Object
shared
Canvas
API
AlgorithmPluginType
CANNON
Tiles3dPluginType
default
reactivity
render2d
BehaviorStatus
BlendFunction
EdgeDetectionMode
EffectAttribute
EmitterMode
GlitchMode
KernelSize
MapOpenWay
NodeType
NodeValueType
OrderIndex
ParallelBehaviorPolicy
PredicationMode
RayQueryType
RenderMode
Loading...
是否根据绘制的内容计算渲染的大小