File

widgets/implementations/three-d-rotation/three-d-rotation/three-d-rotation.component.ts

Implements

AfterViewInit OnInit OnDestroy

Metadata

Index

Properties
Methods
Inputs
Accessors

Inputs

angles$
Type : Observable<ThreeDRotationWidgetRotate>
Default value : of({ x: 0, y: 0, z: 0 })
cameraType$
Type : Observable<string>
Default value : of('PC')
isWireframe$
Type : Observable<boolean>
Default value : of(true)
modelObj$
Type : Observable<any>

Methods

Async loadModel
loadModel(modelObj: any, three)
Parameters :
Name Type Optional
modelObj any No
three No
Returns : Promise<THREE.Object3D<THREE.Event>>
ngAfterViewInit
ngAfterViewInit()
Returns : void
ngOnDestroy
ngOnDestroy()
Returns : void
ngOnInit
ngOnInit()
Returns : void
Async setupRenderer
setupRenderer(three)
Parameters :
Name Optional
three No
Returns : any
setWireframe
setWireframe(parsedModel: THREE.Object3D, isWireframe: boolean)
Parameters :
Name Type Optional
parsedModel THREE.Object3D No
isWireframe boolean No
Returns : THREE.Object3D

Properties

camera
Type : THREE.PerspectiveCamera | THREE.OrthographicCamera
model
Type : THREE.Object3D
scene
Type : THREE.Scene

Accessors

canvas
getcanvas()
<canvas #canvas class="fit-w fit-h"></canvas>

results matching ""

    No results matching ""