Struct PointXYZI
Represents a point in a point cloud.
Namespace: Mechatronics.SensorSDK
Syntax
[GenerateHLSL(PackingRules.Exact, true, false, false, 1, false, false, false, -1, "D:\\temp\\com.unity.sensorsdk@1.0\\Packages\\com.unity.sensorsdk\\Runtime\\Sensors\\Components\\PointXYZI.cs", needAccessors = false)]
public struct PointXYZI
Fields
intensity
Intensity of the light reflected from the surface at this point. (Watts/m^2)
Declaration
public float intensity
Field Value
Type | Description |
---|---|
Single |
position
Cartesian position of the point.
Declaration
public Vector3 position
Field Value
Type | Description |
---|---|
Vector3 |
Properties
IsValid
Use to reject invalid point in the point cloud. An invalid point is a point with coordinates (0, 0, 0).
Declaration
public readonly bool IsValid { get; }
Property Value
Type | Description |
---|---|
Boolean |
Size
Return the size in byte of PointXYZI
Declaration
public static readonly int Size { get; }
Property Value
Type | Description |
---|---|
Int32 |