cesium
Visualizes a vertex attribute by displaying it as a color for debugging.
Components for well-known unit-length vectors, i.e., normal, binormal, and tangent, are scaled and biased from [-1.0, 1.0] to (-1.0, 1.0).
normal
binormal
tangent
alias DebugAppearance
float
vec2
vec3
vec4
exception {DeveloperError} options.glslDatatype must be float, vec2, vec3, or vec4.
var primitive = new Cesium.Primitive({ geometryInstances : // ... appearance : new Cesium.DebugAppearance({ attributeName : 'normal' }) });
Visualizes a vertex attribute by displaying it as a color for debugging.
Components for well-known unit-length vectors, i.e.,
normal
,binormal
, andtangent
, are scaled and biased from [-1.0, 1.0] to (-1.0, 1.0).alias DebugAppearance
float
,vec2
,vec3
, andvec4
.exception {DeveloperError} options.glslDatatype must be float, vec2, vec3, or vec4.
var primitive = new Cesium.Primitive({ geometryInstances : // ... appearance : new Cesium.DebugAppearance({ attributeName : 'normal' }) });