Interface: InstancedMesh2Params<T>
InstancedMesh2.InstancedMesh2Params
Configuration for creating an InstancedMesh2
Type parameters
Name |
---|
T |
Properties
behaviour
• behaviour: number
Determine which strategy to use for frustum culling (can be CullingNone
, CullingStatic
, CullingDynamic
).
Defined in
packages/InstancedMesh2/src/InstancedMesh2.ts:20
color
• Optional
color: ColorRepresentation
The default color to apply to each instance (optional).
Defined in
packages/InstancedMesh2/src/InstancedMesh2.ts:24
onInstanceCreation
• Optional
onInstanceCreation: CreateEntityCallback
<Entity
<T
>>
Callback invoked after creation of each instance (optional if behaviour is not CullingStatic
).