Preparing search index...
The search index is not available
mini-gl - v2.0.1
mini-gl
Canvas
Class Canvas
Index
Constructors
constructor
Properties
before
Time
gl
index
line
mesh
meshes
miniGL
point
status
width
Line
Methods
add
add
Child
dispose
make
Need
Uniform
make
Transform
remove
remove
Child
render
render
Mesh
to
Data
Url
update
Constructors
constructor
new
Canvas
(
config
)
:
Canvas
Parameters
config
:
MiniGLConfig
Returns
Canvas
Properties
before
Time
before
Time
:
number
gl
gl
:
WebGL2RenderingContext
index
index
:
number
= 0
line
line
:
Line
mesh
mesh
:
Mesh
meshes
meshes
:
any
[]
= []
miniGL
miniGL
:
MiniGL
point
point
:
Point
status
status
:
string
= "update"
width
Line
width
Line
:
WidthLine
Methods
add
add
(
mesh
)
:
any
Parameters
mesh
:
any
Returns
any
key
add
Child
add
Child
(
...
args
)
:
void
Parameters
Rest
...
args
:
any
[]
Returns
void
dispose
dispose
(
)
:
void
Returns
void
make
Need
Uniform
make
Need
Uniform
(
item
)
:
void
Parameters
item
:
any
Returns
void
make
Transform
make
Transform
(
item
,
parentMatrix
)
:
void
Parameters
item
:
any
parentMatrix
:
any
Returns
void
remove
remove
(
child
)
:
void
Parameters
child
:
any
Returns
void
remove
Child
remove
Child
(
...
args
)
:
void
Parameters
Rest
...
args
:
any
[]
Returns
void
render
render
(
delta
)
:
void
Parameters
delta
:
number
Returns
void
render
Mesh
render
Mesh
(
mesh
,
delta
,
parentMatrix
?
)
:
void
Parameters
mesh
:
any
delta
:
any
Optional
parentMatrix
:
any
一级级传下来的矩阵
Returns
void
to
Data
Url
to
Data
Url
(
)
:
string
Returns
string
update
update
(
)
:
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
before
Time
gl
index
line
mesh
meshes
miniGL
point
status
width
Line
add
add
Child
dispose
make
Need
Uniform
make
Transform
remove
remove
Child
render
render
Mesh
to
Data
Url
update
mini-gl - v2.0.1
Shape
Utils
glMatrix
Canvas
DragonBones
Group
MiniGL
Texture
Viewport
Generated using
TypeDoc
一级级传下来的矩阵