sprunk-engine
Preparing search index...
Extensions/RenderEngine/Text/MSDFFont/MsdfText
MsdfText
Class MsdfText
Index
Constructors
constructor
Properties
engine
font
measurements
text
Buffer
Methods
get
Render
Bundle
set
Color
set
Pixel
Scale
set
Transform
Constructors
constructor
new
MsdfText
(
engine
:
Renderer
,
renderBundle
:
GPURenderBundle
,
measurements
:
MsdfTextMeasurements
,
font
:
MsdfFont
,
textBuffer
:
GPUBuffer
,
)
:
MsdfText
Parameters
engine
:
Renderer
renderBundle
:
GPURenderBundle
measurements
:
MsdfTextMeasurements
font
:
MsdfFont
textBuffer
:
GPUBuffer
Returns
MsdfText
Properties
engine
engine
:
Renderer
font
font
:
MsdfFont
measurements
measurements
:
MsdfTextMeasurements
text
Buffer
textBuffer
:
GPUBuffer
Methods
get
Render
Bundle
getRenderBundle
()
:
GPURenderBundle
Returns
GPURenderBundle
set
Color
setColor
(
r
:
number
,
g
:
number
,
b
:
number
,
a
?:
number
)
:
void
Parameters
r
:
number
g
:
number
b
:
number
a
:
number
= 1.0
Returns
void
set
Pixel
Scale
setPixelScale
(
pixelScale
:
number
)
:
void
Parameters
pixelScale
:
number
Returns
void
set
Transform
setTransform
(
matrix
:
Float32Array
)
:
void
Parameters
matrix
:
Float32Array
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
engine
font
measurements
text
Buffer
Methods
get
Render
Bundle
set
Color
set
Pixel
Scale
set
Transform
sprunk-engine
Loading...