Class PlaneArrangement
Space configuration processing application of PlaneObject prefab
Inheritance
Namespace: TofAr.V0.Plane
Assembly: TofArPlaneAssembly.dll
Syntax
public class PlaneArrangement : MonoBehaviour
Fields
circleImage
Object for displaying plane
Declaration
public GameObject circleImage
Field Value
Type |
---|
UnityEngine.GameObject |
normalImage
Object for displaying normal vector
Declaration
public GameObject normalImage
Field Value
Type |
---|
UnityEngine.GameObject |
Properties
CenterPosition
Reference point of plane detection
Declaration
public Vector2 CenterPosition { get; set; }
Property Value
Type |
---|
UnityEngine.Vector2 |
Data
Displayed plane's data
Declaration
public VariablesProperty Data { get; }
Property Value
Type |
---|
VariablesProperty |
Interval
Plane estimation request interval (Default: 11)
Declaration
public int Interval { get; set; }
Property Value
Type |
---|
System.Int32 |
KSize
Size of filter kernel used for smoothing (Default: 5)
Declaration
public int KSize { get; set; }
Property Value
Type |
---|
System.Int32 |
MinSize
The minimum plane size to detect. Planes with a distance to the edge lower than this are not detected.
Declaration
public float MinSize { get; set; }
Property Value
Type |
---|
System.Single |
PlaneThreshold
Distance threshold between requested plane and PointCloud (Default: 10.0)
Declaration
public float PlaneThreshold { get; set; }
Property Value
Type |
---|
System.Single |
Methods
Deselect()
Deselect plane
Declaration
public void Deselect()
Select()
Select plane
Declaration
public void Select()