Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

_system

_system: coreSystem

animations

animations: any

animopacity

animopacity: number

animposition

animposition: point3D

animrotation

animrotation: point3D

animscale

animscale: point3D

colors

colors: string[] = ['albedo', 'ambient', 'specular', 'emissive', 'water', 'reflection', 'reflectivity']

finished

finished: boolean = false

group

group: boolean = false

groupContent

groupContent: any

groupkey

groupkey: string = ""

hyperlink

hyperlink: string

id

id: string

infinite

infinite: number = 1000000000000

ingroup

ingroup: boolean = false

listener

listener: Function

locked

locked: boolean = false

mesh

mesh: string

modelAnimations

modelAnimations: Array<AnimationGroup> = []

modelAnimationsName

modelAnimationsName: Array<string> = []

opacity

opacity: number = 1

pattern

pattern: modelPattern

play

play: boolean = true

reseted

reseted: boolean = false

scrollposition

scrollposition: number = 0

shadow

shadow: boolean = true

shown

shown: boolean = false

tag

tag: string = ""

textures

textures: Array<"image" | "particle" | "albedo" | "ambient" | "specular" | "emissive" | "reflectivity" | "reflection" | "refraction" | "heightmap" | "cubetexture" | "bump" | "opacity" | "model" | "video" | "sound"> = ['albedo', 'ambient', 'specular', 'emissive', 'bump', 'opacity', 'reflection', 'refraction', 'reflectivity']

type

type: string = "model"

url

url: string

visible

visible: boolean = true

Methods

_animateMouse

_animateScroll

_animateWay

_hide

  • _hide(): void

_hideMove

  • _hideMove(): void

_resetGeometry

  • _resetGeometry(): void

_show

  • _show(): void

_showMove

  • _showMove(): void

addAnimation

addAnimations

  • addAnimations(animations: any): void

animate

animateMouse

animateScroll

animateVector

animateWay

animationEvent

deleteAnimation

  • deleteAnimation(animkey: string): void

eraseMaterial

  • eraseMaterial(): void

finishAnimation

goToFirstFrame

goToFramePercentage

goToLastFrame

hide

  • hide(fast?: boolean): void

loadModel

  • loadModel(url: string, callback?: Function): void

pauseAnimation

  • pauseAnimation(): void

pauseModelAnimation

playModelAnimation

resetAnimationGeometry

resetGeometry

  • resetGeometry(): void

setAnimationParam

setContentParameter

setCurveFunction

  • setCurveFunction(contentAnimation: animationOptions): BezierCurveEase | CircleEase | BounceEase | ExponentialEase | object

setGeometryParameters

setGlow

  • setGlow(glow: boolean): void

setHyperlink

  • setHyperlink(hyperlink: string): void

setIndexOfRefraction

  • setIndexOfRefraction(refraction: number): void

setListener

  • setListener(callback: Function): void

setMaterial

setMaterialProperties

setModel

  • setModel(meshes: Array<Mesh>): void

setModelAnimations

  • setModelAnimations(animations: Array<AnimationGroup>): void

setOpacity

  • setOpacity(op: number): void

setPlay

  • setPlay(play: boolean): void

setPosition

setReflection

  • setReflection(reflection: boolean): void

setRefraction

  • setRefraction(refraction: boolean): void

setRotation

setScale

setShadow

  • setShadow(shadow: boolean): void

setStartParam

setTexture

  • setTexture(texture: "image" | "particle" | "albedo" | "ambient" | "specular" | "emissive" | "reflectivity" | "reflection" | "refraction" | "heightmap" | "cubetexture" | "bump" | "opacity" | "model" | "video" | "sound", url: string, callback?: Function): void
  • Parameters

    • texture: "image" | "particle" | "albedo" | "ambient" | "specular" | "emissive" | "reflectivity" | "reflection" | "refraction" | "heightmap" | "cubetexture" | "bump" | "opacity" | "model" | "video" | "sound"
    • url: string
    • Optional callback: Function

    Returns void

setTextureColor

  • setTextureColor(texture: string, color: Array<number>): void

setTextureSize

  • setTextureSize(size: number): void

setType

  • setType(type: string): void

setTypeDefaultValues

  • setTypeDefaultValues(type: string): void

setTypeParameter

setVector

  • setVector(param: string, vector: option3D): void

setVisible

  • setVisible(visible: boolean): void

show

  • show(): void

startAllAnimation

  • startAllAnimation(): void

startAnimation

stopAllModelAnimations

  • stopAllModelAnimations(): void

stopAnimation

stopModelAnimation

Object literals

material

material: object

reflection

reflection: true = true

refraction

refraction: false = false

texturesize

texturesize: number = 1

position

position: object

x

x: number = 0

y

y: number = 0

z

z: number = 0

rotation

rotation: object

x

x: number = 0

y

y: number = 0

z

z: number = 0

scale

scale: object

x

x: number = 0

y

y: number = 0

z

z: number = 0

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc