Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextBufferData

Text buffer parameter object.

property

{Float} opacity - translucency: 1 is fully opaque, 0 is fully transparent

property

{Integer} clipNear - position of camera near/front clipping plane in percent of scene bounding box

property

{String} labelType - type of the label, one of: "atomname", "atomindex", "occupancy", "bfactor", "serial", "element", "atom", "resname", "resno", "res", "text", "qualified". When set to "text", the labelText list is used.

property

{String[]} labelText - list of label strings, must set labelType to "text" to take effect

property

{String} fontFamily - font family, one of: "sans-serif", "monospace", "serif"

property

{String} fontStyle - font style, "normal" or "italic"

property

{String} fontWeight - font weight, "normal" or "bold"

property

{Float} xOffset - offset in x-direction

property

{Float} yOffset - offset in y-direction

property

{Float} zOffset - offset in z-direction (i.e. in camera direction)

property

{String} attachment - attachment of the label, one of: "bottom-left", "bottom-center", "bottom-right", "middle-left", "middle-center", "middle-right", "top-left", "top-center", "top-right"

property

{Boolean} showBorder - show border/outline

property

{Color} borderColor - color of the border/outline

property

{Float} borderWidth - width of the border/outline

property

{Boolean} showBackground - show background rectangle

property

{Color} backgroundColor - color of the background

property

{Float} backgroundMargin - width of the background

property

{Float} backgroundOpacity - opacity of the background

property

{Boolean} fixedSize - show text with a fixed pixel size

Hierarchy

Index

Properties

Optional color

color: Float32Array

Optional index

index: Uint32Array | Uint16Array

Optional normal

normal: Float32Array

Optional picking

picking: Picker

Optional position

position: Float32Array

Optional position1

position1: Float32Array

Optional primitiveId

primitiveId: Float32Array

size

size: Float32Array

text

text: string[]

Generated using TypeDoc