Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.01 KB

value.pcsl.md

File metadata and controls

40 lines (27 loc) · 1.01 KB

value [point cloud profile]

A scalar or vector value.

Related:

pcsl::attributeInfo, pcsl::vertexAttributes

Properties

Property Type Description
valueType string Type of the attribute values after decompression, if applicable. Please note that string is not supported for point cloud scene layer attributes.
Possible values are:
  • Int8
  • UInt8
  • Int16
  • UInt16
  • Int32
  • UInt32
  • Float32
  • Float64
valuesPerElement number Number of components.

Note: properties in bold are required

Examples

Example: Scalar value definition

An unsigned 16 bit value.

 {
  "valueType": "UInt16",
  "valuesPerElement": 1
} 

Example: Vector value definition

The vector value can only be RGB-8 value.

 {
  "valueType": "UInt8",
  "valuesPerElement": 3
}