Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

Properties

_system

_system: coreSystem

center

center: Vector3

colors

colors: any

flat

flat: boolean = false

fogEnabled

fogEnabled: boolean = true

glowEnabled

glowEnabled: boolean = false

key

key: string

lightEnabled

lightEnabled: boolean = true

mainParentList

mainParentList: Array<meshMaterial> = []

mainParentListId

mainParentListId: Array<string> = []

materialtype

materialtype: "standard" | "water"

maximum

maximum: Vector3

mesh

mesh: Mesh

meshes

meshes: Array<meshMaterial> = []

meshesnumber

meshesnumber: number = 0

minimum

minimum: Vector3

scaleVector

scaleVector: Vector3

scalemesh

scalemesh: shapePattern

shadowEnabled

shadowEnabled: boolean = true

textures

textures: any

transparentmaterial

transparentmaterial: PBRMaterial

waterEnabled

waterEnabled: boolean = true

Methods

_destroyMeshes

  • _destroyMeshes(): void

_hide

  • _hide(): this
  • Returns this

_setAngleAxis

_setMesh

  • _setMesh(mesh: Mesh): void

_setTransparentMaterial

  • _setTransparentMaterial(visibility?: number): void
  • Parameters

    • Optional visibility: number

    Returns void

_show

  • _show(): this
  • Returns this

addChildren

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

addFog

  • addFog(): this
  • Returns this

addGlow

  • addGlow(): this

addMesh

  • addMesh(mesh: meshMaterial): void

addMeshWithNewBounds

  • addMeshWithNewBounds(mesh: meshMaterial): void

addParentMeshes

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

addShadow

  • addShadow(): this

addToWaters

  • addToWaters(): void

checkBounds

  • checkBounds(meshes: Array<meshMaterial>): void

checkSceneGlow

  • checkSceneGlow(): void
  • Returns void

createPBRM

  • createPBRM(mkey: string, options: any): PBRMaterial
  • Parameters

    • mkey: string
    • options: any

    Returns PBRMaterial

createWM

  • createWM(mkey: string, options: any): WaterMaterial
  • Parameters

    • mkey: string
    • options: any

    Returns WaterMaterial

deleteMaterial

  • deleteMaterial(): this

deleteTexture

  • deleteTexture(type: string, always?: boolean): void

deleteTextureColor

  • deleteTextureColor(type: string): void

deleteTextureColors

  • deleteTextureColors(): void

deleteTextures

  • deleteTextures(): void

destroy

  • destroy(): this

destroyMeshes

  • destroyMeshes(): void

enableReflection

  • enableReflection(enable: boolean): this

enableRefraction

  • enableRefraction(enable: boolean): this

forcelistenEvent

  • forcelistenEvent(bool: boolean): void

getCenter

  • getCenter(): void

getPosition

  • getPosition(): object

hide

  • hide(): this

highlight

  • highlight(test: boolean, color?: string): this

listenEvent

  • listenEvent(bool: boolean): void

off

  • off(): this

on

  • on(event: string, funct: Function): this

parentListenEvent

  • parentListenEvent(bool: boolean): void

receiveShadow

  • receiveShadow(bool: boolean): void
  • Parameters

    • bool: boolean

    Returns void

removeFog

  • removeFog(): this
  • Returns this

removeFromWaters

  • removeFromWaters(): void

removeGlow

  • removeGlow(): this

removeShadow

  • removeShadow(): this

resetParentPosition

  • resetParentPosition(): void

scaleGroup

  • scaleGroup(): void

separateAllMeshes

  • separateAllMeshes(): void

separateMesh

  • separateMesh(mesh: meshMaterial): void

separateMeshWithNewBounds

  • separateMeshWithNewBounds(mesh: meshMaterial): void

setAngleAxis

setFlatMesh

  • setFlatMesh(flat: boolean): void

setFrame

  • setFrame(frame: boolean): this

setGroupParent

  • setGroupParent(): void

setIndex

  • setIndex(index: number): this

setIndexOfRefraction

  • setIndexOfRefraction(index: number): this

setMaterialLayersEnabled

  • setMaterialLayersEnabled(materialLayersEnabled?: materialLayersEnabled): void
  • Parameters

    • Optional materialLayersEnabled: materialLayersEnabled

    Returns void

setMaterialProperties

  • setMaterialProperties(prop: any): void

setMaterialProperty

  • setMaterialProperty(key: string, value: any): void

setMaterialType

  • setMaterialType(materialtype?: any, temp?: boolean): this

setMaxLights

  • setMaxLights(maxLights: number): void
  • Parameters

    • maxLights: number

    Returns void

setMesh

  • setMesh(mesh: Mesh): void
  • Parameters

    • mesh: Mesh

    Returns void

setMeshChangePosition

  • setMeshChangePosition(mesh: meshMaterial, change: Vector3): void

setMeshInvisible

  • setMeshInvisible(mesh: AbstractMesh): void

setMeshOriginalPosition

  • setMeshOriginalPosition(mesh: meshMaterial): void

setMeshRelativePosition

  • setMeshRelativePosition(mesh: meshMaterial): void

setMeshes

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

setMeshesChangePosition

  • setMeshesChangePosition(change: any): void

setMeshesOriginalPosition

  • setMeshesOriginalPosition(): void

setMeshesParam

  • setMeshesParam(what: string, value1?: any, value2?: any, value3?: any, value4?: any): void

setOpacity

  • setOpacity(op: number): this

setParent

setParentsRelativePosition

  • setParentsRelativePosition(): void

setPosAxis

setReflectionMode

  • setReflectionMode(mode: string): void
  • Parameters

    • mode: string

    Returns void

setScaleAxis

setShape

  • setShape(shape: "sphere" | "cube" | "plane" | "cylinder" | "disc" | "cone" | "pearl"): void

setTexture

  • setTexture(type: string, texture: any, clone?: boolean): this

setTextureColor

  • setTextureColor(type: string, color: Array<number>): this

setTextureColors

  • setTextureColors(): void

setTextureSize

  • setTextureSize(size: number): this

setTextures

  • setTextures(): this

setTransparentMaterial

  • setTransparentMaterial(visibility?: number): void

setWaterRenderList

  • setWaterRenderList(material: WaterMaterial): void
  • Parameters

    • material: WaterMaterial

    Returns void

show

  • show(): this

unSetParent

  • unSetParent(): this

Object literals

changeParameters

changeParameters: object

alpha

alpha: string = "alpha"

bumpheight

bumpheight: string = "bumpHeight"

bumplevel

bumplevel: string = "bumpTexture.level"

colorblendfactor

colorblendfactor: string = "colorBlendFactor"

metallic

metallic: string = "metallic"

roughness

roughness: string = "roughness"

waveheight

waveheight: string = "waveHeight"

wavelength

wavelength: string = "waveLength"

windforce

windforce: string = "windForce"

coordinatesModes

coordinatesModes: object

cubic

cubic: number = Texture.CUBIC_MODE

fixed

fixed: number = Texture.FIXED_EQUIRECTANGULAR_MODE

none

none: number = Texture.EXPLICIT_MODE

planar

planar: number = Texture.PLANAR_MODE

projection

projection: number = Texture.PROJECTION_MODE

skybox

skybox: number = Texture.SKYBOX_MODE

spherical

spherical: number = Texture.SPHERICAL_MODE

defaultColorValues

defaultColorValues: object

albedo

albedo: string = "white"

ambient

ambient: string = "black"

bump

bump: string = "black"

emissive

emissive: string = "black"

opacity

opacity: string = "white"

particle

particle: string = "white"

reflection

reflection: string = "white"

reflectivity

reflectivity: string = "white"

specular

specular: string = "black"

renameEvent

renameEvent: object

click

click: string = "OnPickTrigger"

down

down: string = "OnPickDownTrigger"

enter

enter: string = "OnPointerOverTrigger"

leave

leave: string = "OnPointerOutTrigger"

up

up: string = "OnPickUpTrigger"

rotation

rotation: 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