immersive-home/docs/reference/lib--utils--pointer--initiator.md

78 lines
2.1 KiB
Markdown
Raw Normal View History

2024-03-16 19:45:43 +02:00
# Initiator
**Inherits:** [RefCounted](https://docs.godotengine.org/de/4.x/classes/class_refcounted.html)
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
## Description
2024-03-16 19:45:43 +02:00
2024-03-17 01:14:31 +02:00
Defines what triggered a EventPointer
2024-03-16 19:45:43 +02:00
## Properties
2024-03-17 01:14:31 +02:00
| Name | Type | Default |
| ------------------ | ----------------------------------------------------------------------- | ------- |
| [node](#prop-node) | [Node3D](https://docs.godotengine.org/de/4.x/classes/class_node3d.html) | |
| [type](#prop-type) | [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) | |
2024-03-16 19:45:43 +02:00
## Methods
| Returns | Name |
| ------------------------------------------------------------------- | -------------------------- |
| [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) | [is_right](#is-right) ( ) |
## Signals
### on_press (type: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) ) {#on-press}
No description provided yet.
### on_release (type: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) ) {#on-release}
No description provided yet.
2024-03-17 01:14:31 +02:00
## Enums
2024-03-17 01:14:31 +02:00
### enum Type
2024-03-17 01:14:31 +02:00
#### Type.CONTROLLER_LEFT = `0` {#const-CONTROLLER-LEFT}
No description provided yet.
2024-03-17 01:14:31 +02:00
#### Type.CONTROLLER_RIGHT = `1` {#const-CONTROLLER-RIGHT}
No description provided yet.
2024-03-17 01:14:31 +02:00
#### Type.HAND_LEFT = `2` {#const-HAND-LEFT}
No description provided yet.
2024-03-17 01:14:31 +02:00
#### Type.HAND_RIGHT = `3` {#const-HAND-RIGHT}
No description provided yet.
2024-03-17 01:14:31 +02:00
### enum EventType
2024-03-17 01:14:31 +02:00
#### EventType.GRIP = `0` {#const-GRIP}
No description provided yet.
2024-03-17 01:14:31 +02:00
#### EventType.TRIGGER = `1` {#const-TRIGGER}
No description provided yet.
2024-03-17 01:14:31 +02:00
2024-03-16 19:45:43 +02:00
## Property Descriptions
2024-03-17 01:14:31 +02:00
### node: [Node3D](https://docs.godotengine.org/de/4.x/classes/class_node3d.html) {#prop-node}
2024-03-16 19:45:43 +02:00
No description provided yet.
2024-03-17 01:14:31 +02:00
### type: [int](https://docs.godotengine.org/de/4.x/classes/class_int.html) {#prop-type}
2024-03-16 19:45:43 +02:00
No description provided yet.
## Method Descriptions
2024-03-17 01:14:31 +02:00
### is_right ( ) -> [bool](https://docs.godotengine.org/de/4.x/classes/class_bool.html) {#is-right}
2024-03-16 19:45:43 +02:00
No description provided yet.