Documentation
Preparing search index...
Copy @link
@lopoly/engine
models/MeshPrimitive
MeshPrimitive
Class MeshPrimitive
A sub-piece of a mesh that is all drawn with one material.
Index
Methods
draw
from
Definition
Methods
draw
draw
(
drawQueue
:
DrawTask
[]
,
renderLayer
:
number
,
modelViewMatrix
:
Matrix4
,
material
:
MaterialInstance
,
uniforms
:
{
skinWeights
?:
Float32Array
<
ArrayBufferLike
>
;
worldMatrix
:
Matrix4
;
}
,
)
:
void
No description provided.
Parameters
drawQueue
:
DrawTask
[]
renderLayer
:
number
modelViewMatrix
:
Matrix4
material
:
MaterialInstance
uniforms
:
{
skinWeights
?:
Float32Array
<
ArrayBufferLike
>
;
worldMatrix
:
Matrix4
}
Optional
skinWeights
?:
Float32Array
<
ArrayBufferLike
>
No description provided.
worldMatrix
:
Matrix4
No description provided.
Returns
void
Static
from
Definition
fromDefinition
(
engine
:
IEngine
,
primitive
:
MeshPrimitiveGeometry
,
material
:
MaterialInstance
,
)
:
MeshPrimitive
No description provided.
Parameters
engine
:
IEngine
primitive
:
MeshPrimitiveGeometry
material
:
MaterialInstance
Returns
MeshPrimitive
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
draw
from
Definition
Collapse all
Documentation
Loading...
A sub-piece of a mesh that is all drawn with one material.