Appearance
KBE3D / KBCore / Cesium / getSourceValueStringComponent
函数: getSourceValueStringComponent()
getSourceValueStringComponent(
classProperty:MetadataClassProperty,metadataProperty:any,componentName:string):string
Creates a shader statement that returns the value of the specified component of the given property, normalized to the range [0, 1].
参数
classProperty
The class property
metadataProperty
any
The metadata property, either a PropertyTextureProperty or a PropertyAttributeProperty
componentName
string
The name, in ["x", "y", "z", "w"]
返回
string
The string
