婷婷久久网-婷婷久久久久-婷婷久久久-婷婷久-国产微拍精品一区-国产网址在线观看

ShowGeometryInstanceAttribute

用于確定是否顯示幾何體實例的每個實例幾何體屬性的值和類型信息。
new ShowGeometryInstanceAttribute(show)
Parameters:
show (Boolean) (default true) 確定是否顯示幾何體實例。
Example
var instance = new bmgl.GeometryInstance({
  geometry : new bmgl.BoxGeometry({
    vertexFormat : bmgl.VertexFormat.POSITION_AND_NORMAL,
    minimum : new bmgl.Cartesian3(-250000.0, -250000.0, -250000.0),
    maximum : new bmgl.Cartesian3(250000.0, 250000.0, 250000.0)
  }),
  modelMatrix : bmgl.Matrix4.multiplyByTranslation(bmgl.Transforms.eastNorthUpToFixedFrame(
    bmgl.Cartesian3.fromDegrees(-75.59777, 40.03883)), new bmgl.Cartesian3(0.0, 0.0, 1000000.0), new bmgl.Matrix4()),
  id : 'box',
  attributes : {
    show : new bmgl.ShowGeometryInstanceAttribute(false)
  }
});
See:

Members

(readonly) componentDatatype : ComponentDatatype

屬性中每個組件的數據類型,例如ColorGeometryInstanceAttribute#value中的單個元素。
Default Value: ComponentDatatype.UNSIGNED_BYTE

(readonly) componentsPerAttribute : Number

屬性中的組件數,即ColorGeometryInstanceAttribute#value
Default Value: 1

(readonly) normalize : Boolean

truecomponentDatatype為整數格式時,表示當組件作為浮點進行渲染訪問時,應將它們映射到范圍[0,1](無符號)或[-1,1](有符號)中。
Default Value: true

value : Uint8Array

存儲在類型化數組中的屬性值。
Default Value: [1.0]

Methods

(static) toValue(show, result) → {Uint8Array}
將布爾顯示轉換為可用于分配顯示屬性的類型化數組。
Parameters:
show (Boolean) 顯示值。
result (Uint8Array) 存儲結果的數組,如果未定義,將創建一個新實例。
Example
var attributes = primitive.getGeometryInstanceAttributes('an id');
attributes.show = bmgl.ShowGeometryInstanceAttribute.toValue(true, attributes.show);
主站蜘蛛池模板: 奶奶的星星| ss培养基| 中医基础理论试题题库及答案| 女神宿舍管理君动漫| av电影网| 生男生女清宫图| 那些女人演员表全部名单| 秦皇岛电视台| 梁祝小提琴独奏曲谱完整版| 我的一级兄弟 电影 | 意大利诱惑| 南通紫琅音乐节| 王渝萱全部电影| 包头电视台| 少年的奇幻漂流记| 张鸣岐| 皇冠小刀清痘视频| 湖南金鹰卡通节目表| 金沙滩秦腔剧情介绍| 葛莱| 梁美京| 电视剧杀狼花| 爱笑会议室演员表| 男人伤感失落孤独头像| 通灵之王| 从亘古到永远| 谭天谦| 妈妈的朋友欧美| 砌生猪肉| 欧美日韩欧美日韩| 熊出没之雪岭熊风 电影| 湖南卫视节目表今天| 安息2| 电视剧热播剧大全| 鬼吹灯之精绝古城演员表| 魅力先生王瀚| 《阿卡鲁达》在线播放| 文琪演过的电视剧有哪些| hugh grant| 一张图看懂军衔| cgtn英语频道在线直播观看|