Click or drag to resize

TiltControl Class

A basic tilt control.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Rewired.ComponentControlsComponentControl
            Rewired.ComponentControlsCustomControllerControl
              Rewired.ComponentControlsTiltControl

Namespace: Rewired.ComponentControls
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
[SerializableAttribute]
public sealed class TiltControl : CustomControllerControl

The TiltControl type exposes the following members.

Properties
 NameDescription
Public propertyanimation
(Inherited from Component)
Obsolete
Public propertyaudio
(Inherited from Component)
Obsolete
Public propertyaxesToUse The axis directions in which movement is allowed. You can restrict movement to one or both axes.
Public propertyaxis2DCalibration The calibration settings for the 2D axis.
Public propertycamera
(Inherited from Component)
Obsolete
Public propertycollider
(Inherited from Component)
Obsolete
Public propertycollider2D
(Inherited from Component)
Obsolete
Public propertyconstantForce
(Inherited from Component)
Obsolete
Public propertydeadZoneType The calibration settings for the 2D axis.
Obsolete
Public propertyenabled
(Inherited from Behaviour)
Public propertyforwardRestAngle The offset angle from vertical which will be considered the resting angle. This represents the angle at which the user holds the device without generating tilt. A typical value would be around 40 degrees.
Public propertyforwardTiltCustomControllerElement The Custom Controller element that will receive input values from the Y axis.
Public propertyforwardTiltLimit The maximum forward tilt angle in degrees. When the device is tilted to this angle or further in either direction, the axis will return a value of 1/-1.
Public propertygameObject
(Inherited from Component)
Public propertyguiElement
(Inherited from Component)
Obsolete
Public propertyguiText
(Inherited from Component)
Obsolete
Public propertyguiTexture
(Inherited from Component)
Obsolete
Public propertyhideFlags
(Inherited from Object)
Public propertyhingeJoint
(Inherited from Component)
Obsolete
Public propertyhorizontalAxisCalibration The calibration settings for the horizontal axis.
Public propertyhorizontalRestAngle The offset angle from horizontal which will be considered the resting angle. This represents the angle at which the user holds the device without generating tilt.
Public propertyhorizontalTiltCustomControllerElement The Custom Controller element that will receive input values from the X axis.
Public propertyhorizontalTiltLimit The maximum horizontal tilt angle in degrees. When the device is tilted to this angle or further in either direction, the axis will return a value of 1/-1.
Public propertyisActiveAndEnabled
(Inherited from Behaviour)
Public propertylight
(Inherited from Component)
Obsolete
Public propertyname
(Inherited from Object)
Public propertynetworkView
(Inherited from Component)
Obsolete
Public propertyparticleSystem
(Inherited from Component)
Obsolete
Public propertyrenderer
(Inherited from Component)
Obsolete
Public propertyrigidbody
(Inherited from Component)
Obsolete
Public propertyrigidbody2D
(Inherited from Component)
Obsolete
Public propertyrunInEditMode
(Inherited from MonoBehaviour)
Public propertytag
(Inherited from Component)
Public propertytransform
(Inherited from Component)
Public propertyuseGUILayout
(Inherited from MonoBehaviour)
Public propertyverticalAxisCalibration The calibration settings for the vertical axis.
Top
Methods
 NameDescription
Public methodBroadcastMessage(String)
(Inherited from Component)
Public methodBroadcastMessage(String, Object)
(Inherited from Component)
Public methodBroadcastMessage(String, SendMessageOptions)
(Inherited from Component)
Public methodBroadcastMessage(String, Object, SendMessageOptions)
(Inherited from Component)
Public methodCancelInvoke
(Inherited from MonoBehaviour)
Public methodCancelInvoke(String)
(Inherited from MonoBehaviour)
Public methodClearValue
(Overrides ComponentControlClearValue)
Public methodCompareTag
(Inherited from Component)
Public methodEquals
(Inherited from Object)
Public methodGetComponent(String)
(Inherited from Component)
Public methodGetComponent(Type)
(Inherited from Component)
Public methodGetComponent``1
(Inherited from Component)
Public methodGetComponentInChildren(Type)
(Inherited from Component)
Public methodGetComponentInChildren(Type, Boolean)
(Inherited from Component)
Public methodGetComponentInChildren``1
(Inherited from Component)
Public methodGetComponentInChildren``1(Boolean)
(Inherited from Component)
Public methodGetComponentInParent(Type)
(Inherited from Component)
Public methodGetComponentInParent``1
(Inherited from Component)
Public methodGetComponents(Type)
(Inherited from Component)
Public methodGetComponents(Type, ListComponent)
(Inherited from Component)
Public methodGetComponents``1
(Inherited from Component)
Public methodGetComponents``1(ListUMP)
(Inherited from Component)
Public methodGetComponentsInChildren(Type)
(Inherited from Component)
Public methodGetComponentsInChildren(Type, Boolean)
(Inherited from Component)
Public methodGetComponentsInChildren``1
(Inherited from Component)
Public methodGetComponentsInChildren``1(Boolean)
(Inherited from Component)
Public methodGetComponentsInChildren``1(ListUMP)
(Inherited from Component)
Public methodGetComponentsInChildren``1(Boolean, ListUMP)
(Inherited from Component)
Public methodGetComponentsInParent(Type)
(Inherited from Component)
Public methodGetComponentsInParent(Type, Boolean)
(Inherited from Component)
Public methodGetComponentsInParent``1
(Inherited from Component)
Public methodGetComponentsInParent``1(Boolean)
(Inherited from Component)
Public methodGetComponentsInParent``1(Boolean, ListUMP)
(Inherited from Component)
Public methodGetHashCode
(Inherited from Object)
Public methodGetInstanceID
(Inherited from Object)
Public methodInvoke
(Inherited from MonoBehaviour)
Public methodInvokeRepeating
(Inherited from MonoBehaviour)
Public methodIsInvoking
(Inherited from MonoBehaviour)
Public methodIsInvoking(String)
(Inherited from MonoBehaviour)
Public methodSendMessage(String)
(Inherited from Component)
Public methodSendMessage(String, Object)
(Inherited from Component)
Public methodSendMessage(String, SendMessageOptions)
(Inherited from Component)
Public methodSendMessage(String, Object, SendMessageOptions)
(Inherited from Component)
Public methodSendMessageUpwards(String)
(Inherited from Component)
Public methodSendMessageUpwards(String, Object)
(Inherited from Component)
Public methodSendMessageUpwards(String, SendMessageOptions)
(Inherited from Component)
Public methodSendMessageUpwards(String, Object, SendMessageOptions)
(Inherited from Component)
Public methodSetAccelerationSourceCallback Replaces the default input source for the acceleration value. Sets the delegate callback which will be invoked to retrieve the acceleration value.
Public methodSetRestOrientation Sets the current horizontal and forward rest angles to the current orientation of the device.
Public methodStartCoroutine(IEnumerator)
(Inherited from MonoBehaviour)
Public methodStartCoroutine(String)
(Inherited from MonoBehaviour)
Public methodStartCoroutine(String, Object)
(Inherited from MonoBehaviour)
Public methodStartCoroutine_Auto
(Inherited from MonoBehaviour)
Obsolete
Public methodStopAllCoroutines
(Inherited from MonoBehaviour)
Public methodStopCoroutine(Coroutine)
(Inherited from MonoBehaviour)
Public methodStopCoroutine(IEnumerator)
(Inherited from MonoBehaviour)
Public methodStopCoroutine(String)
(Inherited from MonoBehaviour)
Public methodToString
(Inherited from Object)
Top
See Also