Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Model

Index

Constructors

  • new Model(a: string, b: Partial<{ allowPicking?: boolean; asynchronous?: boolean; backFaceCulling?: boolean; basePath?: string | Resource; clampAnimations?: boolean; clippingPlanes?: ClippingPlaneCollection; color?: Color; colorBlendAmount?: number; colorBlendMode?: ColorBlendMode; credit?: string | Credit; debugShowBoundingVolume?: boolean; debugWireframe?: boolean; dequantizeInShader?: boolean; distanceDisplayCondition?: DistanceDisplayCondition; heightReference?: HeightReference; id?: any; imageBasedLighting?: ImageBasedLighting; incrementallyLoadTextures?: boolean; lightColor?: Cartesian3; maximumScale?: number; minimumPixelSize?: number; modelMatrix?: Matrix4; scale?: number; scene?: Scene; shadows?: ShadowMode; show?: boolean; showCreditsOnScreen?: boolean; showOutline?: boolean; silhouetteColor?: Color; silhouetteSize?: number; url: string | Resource } & { justLoad: boolean }>): Model
  • Parameters

    • a: string
    • b: Partial<{ allowPicking?: boolean; asynchronous?: boolean; backFaceCulling?: boolean; basePath?: string | Resource; clampAnimations?: boolean; clippingPlanes?: ClippingPlaneCollection; color?: Color; colorBlendAmount?: number; colorBlendMode?: ColorBlendMode; credit?: string | Credit; debugShowBoundingVolume?: boolean; debugWireframe?: boolean; dequantizeInShader?: boolean; distanceDisplayCondition?: DistanceDisplayCondition; heightReference?: HeightReference; id?: any; imageBasedLighting?: ImageBasedLighting; incrementallyLoadTextures?: boolean; lightColor?: Cartesian3; maximumScale?: number; minimumPixelSize?: number; modelMatrix?: Matrix4; scale?: number; scene?: Scene; shadows?: ShadowMode; show?: boolean; showCreditsOnScreen?: boolean; showOutline?: boolean; silhouetteColor?: Color; silhouetteSize?: number; url: string | Resource } & { justLoad: boolean }>

    Returns Model

Properties

_lla: number[]
_model: Model
_opacity: number

Methods

  • changeTexture(a: string, b: string, c?: Model): void
  • destroy(): void
  • hide(): void
  • remove(): void
  • setColor(a: Color): void
  • setCssColor(a: string): void
  • setLocation(a: number[]): void
  • setOpacity(a: number): void
  • setPositionOrientationAndScale(a: number[], b?: number[], c?: number[]): void
  • setRotation(a: number, b: number): void
  • setScale(a: number): void
  • show(): void

Generated using TypeDoc