Class: Rhino3dmLoadPlugin
Asset-Management.Rhino3dmLoadPlugin
Hierarchy
SimpleEventDispatcher<"">↳
Rhino3dmLoadPlugin
Implements
Properties
PluginType
▪ Static Readonly PluginType: "Rhino3dmLoadPlugin"
dependencies
• dependencies: typeof AssetManagerPlugin[]
Implementation of
IViewerPluginAsync.dependencies
importMaterials
• importMaterials: boolean = true
Import materials from the file based on material source and color source. If false, a default material will be used
forceLayerMaterials
• forceLayerMaterials: boolean = false
Force layer materials even if material/color source is not from layer. Only works if importMaterials is true
replaceWithInstancedMesh
• replaceWithInstancedMesh: boolean = false
Replace meshes with instanced meshes if they have the same parent, geometry and material
hideLineMesh
• hideLineMesh: boolean = false
Hide all lines, line segments in the file
hidePointMesh
• hidePointMesh: boolean = true
Hide all points in the file
loadUserDataStrings
• loadUserDataStrings: boolean = true
Remove strings from userData
Constructors
constructor
• new Rhino3dmLoadPlugin()
Inherited from
SimpleEventDispatcher<''>.constructor
Methods
onAdded
▸ onAdded(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Implementation of
onDispose
▸ onDispose(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Implementation of
onRemove
▸ onRemove(viewer): Promise<void>
Parameters
| Name | Type |
|---|---|
viewer | ViewerApp |
Returns
Promise<void>
Implementation of
_refresh
▸ Protected _refresh(): void
Returns
void