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 definitionChanged: Event

    Permalink
  8. var distanceDisplayCondition: Property

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

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

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

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

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

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

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

    Permalink
  16. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    Object
  18. var maximumScale: Property

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

    Permalink
  20. var minimumPixelSize: Property

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

    Permalink
    Definition Classes
    AnyRef
  22. var nodeTransformations: PropertyBag

    Permalink
  23. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    Object
  26. var runAnimations: Property

    Permalink
  27. var scale: Property

    Permalink
  28. var shadows: Int

    Permalink
  29. var show: Property

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

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

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

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

    Permalink
  34. def valueOf(): Any

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. 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