@JsType(isNative=true,
namespace="<global>",
name="Object")
public class GeometryInstanceOptions
extends Object
| Modifier and Type | Field and Description |
|---|---|
Object |
attributes
Per-instance attributes like a show or color attribute shown in the example below.
|
Geometry |
geometry
The geometry to instance.
|
Object |
id
A user-defined object to return when the instance is picked with Scene#pick or get/set per-instance attributes with Primitive#getGeometryInstanceAttributes.
|
Matrix4 |
modelMatrix
The model matrix that transforms to transform the geometry from model to world coordinates.
|
| Constructor and Description |
|---|
GeometryInstanceOptions() |
public Geometry geometry
public Matrix4 modelMatrix
Matrix4.IDENTITY()public Object id
public Object attributes
Copyright © 2019. All rights reserved.