Skip to main content

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​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onAdded


onDispose​

▸ onDispose(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onDispose


onRemove​

▸ onRemove(viewer): Promise<void>

Parameters​

NameType
viewerViewerApp

Returns​

Promise<void>

Implementation of​

IViewerPluginAsync.onRemove


_refresh​

▸ Protected _refresh(): void

Returns​

void