Show / Hide Table of Contents

Class vCast_Sensor

vCast Sensor device.
vCast 感應器裝置。

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
vCast_Sensor
vGear_Sensor
Namespace: Votanic.vXR.vCast
Assembly: Votanic.vXR.dll
Syntax
[AddComponentMenu("")]
public class vCast_Sensor : MonoBehaviour

Fields

parts

Parts of sensor.
感應器組件。

Declaration
[Header("[Settings]")]
[Tooltip("Parts of sensor.\n感應器組件。")]
public List<SensorPart> parts
Field Value
Type Description
System.Collections.Generic.List<SensorPart>

Properties

vision

The vision sensor part.
感應器的視覺組件。

Declaration
public vCast_Vision vision { get; }
Property Value
Type Description
vCast_Vision

Methods

EnablePart(String, Boolean)

Enable or disable the part of sensor.
啟用或停用感應器組件。

EnablePart("Vision", true)

Declaration
public void EnablePart(string name, bool enable)
Parameters
Type Name Description
System.String name

Sensor part name
感應器組件名稱

System.Boolean enable

Enable if true
當 true 時啟用

In This Article
Back to top Generated by DocFX