节点参考 / 输入源

文字图片

text_image

将排版文字生成颜色图和对应深度图。

输入

尺寸size

输出

图像image
深度depth
尺寸size

默认参数

参数来自 App 的节点定义。已连接的设置可覆盖本地参数;动态端口按默认槽位展示。

参数默认值
text"HELLO"
fontFamily""
fontPostscript""
fallbackFamilies[]
fontSize96
weight700
italicfalse
lineHeight1
letterSpacing1
align"center"
writingMode"horizontal-tb"
direction"auto"
wordBreak"normal"
textTransform"none"
wraptrue
boxWidth0
padding24
fixedCanvasfalse
canvasWidth1024
canvasHeight1024
offsetX0
offsetY0
scale1
renderMode"fill"
color[25,25,25,255]
strokeWidth2
strokeColor[255,255,255,255]
background[0,0,0,0]
depth0.3
depthSpan0.18
emboss0
bevelWidth8
bevelStyle"chamfer"
data""
depthData""
depthEncoding"rg16"

需要支持节点图的 StereoGen 构建;商店 0.2.0 用户请使用对应教程。