Class ObjectDetection
Object detection setting.
偵測物件設定。
Inheritance
System.Object
ObjectDetection
Namespace: Votanic.vXR.vGear
Assembly: Votanic.vXR.dll
Syntax
[Serializable]
public class ObjectDetection
Fields
enable
Enable or disable the object detection.
啟用或停用物件偵測。
Declaration
[Tooltip("Enable or disable the object detection.\n啟用或停用物件偵測。")]
public bool enable
Field Value
Type | Description |
---|---|
System.Boolean |
solutions
Different solutions for object detection.
物件偵測的不同方案。
Declaration
[Tooltip("Different solutions for object detection.\n物件偵測的不同方案。")]
public List<ObjectDetectionConditions> solutions
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<ObjectDetectionConditions> |
Methods
CanBeDetected(GameObject)
Return true if the object can be detected.
當物件可被偵測傳回 true。
CanBeDetected(gameObject)
Declaration
public bool CanBeDetected(GameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.GameObject | gameObject | Target object |
Returns
Type | Description |
---|---|
System.Boolean |