Class

cesium

ModelGraphics

Related Doc: package cesium

Permalink

class ModelGraphics extends Object

A 3D model based on https://github.com/KhronosGroup/glTF|glTF, the runtime asset format for WebGL, OpenGL ES, and OpenGL. The position and orientation of the model is determined by the containing Entity

Cesium includes support for glTF geometry, materials, animations, and skinning. Cameras and lights are not currently supported.

alias ModelGraphics

- The options object takes the following properties - {Property} [options.uri] A string Property specifying the URI of the glTF asset. - {Property} [options.show=true] A boolean Property specifying the visibility of the model. - {Property} [options.scale=1.0] A numeric Property specifying a uniform linear scale. - {Property} [options.minimumPixelSize=0.0] A numeric Property specifying the approximate minimum pixel size of the model regardless of zoom. - {Property} [options.maximumScale] The maximum scale size of a model. An upper limit for minimumPixelSize. - {Property} [options.incrementallyLoadTextures=true] Determine if textures may continue to stream in after the model is loaded. - {Property} [options.runAnimations=true] A boolean Property specifying if glTF animations specified in the model should be started. - {Property} [options.nodeTransformations] An object, where keys are names of nodes, and values are TranslationRotationScale Properties describing the transformation to apply to that node.

Annotations
@RawJSType() @native() @JSName( "Cesium.ModelGraphics" )
See also

Models Tutorial demo Sandcastle 3D Models Demo

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModelGraphics
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ModelGraphics(options: ModelGraphicsOptions)

    Permalink
  2. new ModelGraphics()

    Permalink
    Attributes
    protected

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(result: ModelGraphics = ???): ModelGraphics

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. var color: Color

    Permalink
  8. var colorBlendAmount: Double

    Permalink
  9. var colorBlendMode: ColorBlendMode

    Permalink
  10. var definitionChanged: Event

    Permalink
  11. var distanceDisplayCondition: Property

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. var incrementallyLoadTextures: Property

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  21. var maximumScale: Property

    Permalink
  22. def merge(source: ModelGraphics): Dynamic

    Permalink
  23. var minimumPixelSize: Property

    Permalink
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. var nodeTransformations: PropertyBag

    Permalink
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  29. var runAnimations: Property

    Permalink
  30. var scale: Property

    Permalink
  31. var shadows: Int

    Permalink
  32. var show: Property

    Permalink
  33. var silhouetteColor: Color

    Permalink
  34. var silhouetteSize: Double

    Permalink
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. var uri: Property

    Permalink
  39. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped