Class TagDto (Inputs.Tag)
Constructors
constructor
new TagDto( text?: string, position?: Point3, colour?: string, size?: number, adaptDepth?: boolean, needsUpdate?: boolean, id?: string,): TagDto Parameters
Optionaltext: stringOptionalposition: Point3Optionalcolour: stringOptionalsize: numberOptionaladaptDepth: booleanOptionalneedsUpdate: booleanOptionalid: string
Properties
text
text: string
position
colour
colour: string
size
size: number
adaptDepth
adaptDepth: boolean
OptionalneedsUpdate
needsUpdate?: boolean
Optionalid
id?: string
固定在 3D 位置上的文本标签,由
tag.create构建并由tag.drawTag显示:文本、所在位置、颜色和大小,以及它是否随距离缩小。id和needsUpdate由绘制填入。