Properties
addObject
addObject: ((object) => void)
Type declaration
- (object): void
Parameters
object: Object3D<Object3DEventMap>
Returns void
getAnimations
getAnimations: (() => string[])
Type declaration
- (): string[]
Returns string[]
getMaterialNames
getMaterialNames: (() => string[])
Type declaration
- (): string[]
Returns string[]
getObjectNames
getObjectNames: (() => string[])
Type declaration
- (): string[]
Returns string[]
graph
playAnimation
playAnimation: ((name) => void)
setColor
setColor: ((name, color) => void)
Type declaration
- (name, color): void
Parameters
name: string
color: string
Returns void
setMapURL
setMapURL: ((name, mapURL) => void)
Type declaration
- (name, mapURL): void
Parameters
name: string
mapURL: string
Returns void
setMorphTargetInfluence
setMorphTargetInfluence: ((name, morphTarget, influence) => void)
Type declaration
- (name, morphTarget, influence): void
Parameters
name: string
morphTarget: string
influence: number
Returns void
setPosition
setPosition: ((name, position) => void)
Type declaration
- (name, position): void
Parameters
name: string
position: Vector3Tuple
Returns void
setRotation
setRotation: ((name, rotation) => void)
Type declaration
- (name, rotation): void
Parameters
name: string
rotation: Vector3Tuple
Returns void
setScale
setScale: ((name, scale) => void)
Type declaration
- (name, scale): void
Parameters
name: string
scale: Vector3Tuple
Returns void
setVisible
setVisible: ((name, visible) => void)
Type declaration
- (name, visible): void
Parameters
name: string
visible: boolean
Returns void
settings
settings: {
environmentIntensity: number;
}
Type declaration
environmentIntensity: number
state
state: {
configurationLoaded: boolean;
modelLoaded: boolean;
shouldLoad: boolean;
staged: boolean;
}
Type declaration
configurationLoaded: boolean
modelLoaded: boolean
shouldLoad: boolean
staged: boolean
stopAllAnimations
stopAllAnimations: (() => void)
updateMaterial
updateMaterial: ((name, config) => void)
Type declaration
- (name, config): void
Returns void
updatePosition
updatePosition: ((name, position) => void)
Type declaration
- (name, position): void
Parameters
name: string
position: {
x?: number;
y?: number;
z?: number;
}
Optional
x?: number
Optional
y?: number
Optional
z?: number
Returns void
updateRotation
updateRotation: ((name, rotation) => void)
Type declaration
- (name, rotation): void
Parameters
name: string
rotation: {
x?: number;
y?: number;
z?: number;
}
Optional
x?: number
Optional
y?: number
Optional
z?: number
Returns void
updateScale
updateScale: ((name, scale) => void)
Type declaration
- (name, scale): void
Parameters
name: string
scale: {
x?: number;
y?: number;
z?: number;
}
Optional
x?: number
Optional
y?: number
Optional
z?: number
Returns void