Skip to content

KBE3D / KBCore / Cesium / getSourceValueStringScalar

函数: getSourceValueStringScalar()

getSourceValueStringScalar(classProperty: MetadataClassProperty, metadataProperty: any): string

Creates a shader statement that returns the value of the specified property, normalized to the range [0, 1].

参数

classProperty

MetadataClassProperty

The class property

metadataProperty

any

The metadata property, either a PropertyTextureProperty or a PropertyAttributeProperty

返回

string

The string

KBE3D @3.0.0 Copyright © 2024-present KBE3D