-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add generated classes to repo (#223)
* Add generated classes to repo * mark generated api as linguist generated * Remove empty companion objects in generated api * Add comment on api files to warn those are generated
- Loading branch information
Showing
628 changed files
with
120,854 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
79 changes: 79 additions & 0 deletions
79
godot-kotlin/godot-library/src/nativeGen/kotlin/godot/ARVRAnchor.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! ALL CHANGES TO IT WILL BE OVERWRITTEN ON EACH BUILD | ||
package godot | ||
|
||
import godot.core.Godot.shouldInitPtr | ||
import godot.core.Plane | ||
import godot.core.Signal1 | ||
import godot.core.Vector3 | ||
import godot.core.signal | ||
import godot.icalls._icall_Boolean | ||
import godot.icalls._icall_Long | ||
import godot.icalls._icall_Mesh | ||
import godot.icalls._icall_Plane | ||
import godot.icalls._icall_String | ||
import godot.icalls._icall_Unit_Long | ||
import godot.icalls._icall_Vector3 | ||
import godot.internal.utils.getConstructor | ||
import godot.internal.utils.getMethodBind | ||
import kotlin.Any | ||
import kotlin.Boolean | ||
import kotlin.Long | ||
import kotlin.String | ||
|
||
open class ARVRAnchor internal constructor( | ||
_ignore: Any? | ||
) : Spatial(_ignore) { | ||
val meshUpdated: Signal1<Mesh> by signal("mesh") | ||
|
||
open var anchorId: Long | ||
get() { | ||
val mb = getMethodBind("ARVRAnchor","get_anchor_id") | ||
return _icall_Long(mb, this.ptr) | ||
} | ||
set(value) { | ||
val mb = getMethodBind("ARVRAnchor","set_anchor_id") | ||
_icall_Unit_Long(mb, this.ptr, value) | ||
} | ||
|
||
constructor() : this(null) { | ||
if (shouldInitPtr()) { | ||
this.ptr = getConstructor("ARVRAnchor", "ARVRAnchor") | ||
} | ||
|
||
} | ||
|
||
open fun getAnchorId(): Long { | ||
val mb = getMethodBind("ARVRAnchor","get_anchor_id") | ||
return _icall_Long( mb, this.ptr) | ||
} | ||
|
||
open fun getAnchorName(): String { | ||
val mb = getMethodBind("ARVRAnchor","get_anchor_name") | ||
return _icall_String( mb, this.ptr) | ||
} | ||
|
||
open fun getIsActive(): Boolean { | ||
val mb = getMethodBind("ARVRAnchor","get_is_active") | ||
return _icall_Boolean( mb, this.ptr) | ||
} | ||
|
||
open fun getMesh(): Mesh { | ||
val mb = getMethodBind("ARVRAnchor","get_mesh") | ||
return _icall_Mesh( mb, this.ptr) | ||
} | ||
|
||
open fun getPlane(): Plane { | ||
val mb = getMethodBind("ARVRAnchor","get_plane") | ||
return _icall_Plane( mb, this.ptr) | ||
} | ||
|
||
open fun getSize(): Vector3 { | ||
val mb = getMethodBind("ARVRAnchor","get_size") | ||
return _icall_Vector3( mb, this.ptr) | ||
} | ||
|
||
open fun setAnchorId(anchorId: Long) { | ||
val mb = getMethodBind("ARVRAnchor","set_anchor_id") | ||
_icall_Unit_Long( mb, this.ptr, anchorId) | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
godot-kotlin/godot-library/src/nativeGen/kotlin/godot/ARVRCamera.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! ALL CHANGES TO IT WILL BE OVERWRITTEN ON EACH BUILD | ||
package godot | ||
|
||
import godot.core.Godot.shouldInitPtr | ||
import godot.internal.utils.getConstructor | ||
import kotlin.Any | ||
|
||
open class ARVRCamera internal constructor( | ||
_ignore: Any? | ||
) : Camera(_ignore) { | ||
constructor() : this(null) { | ||
if (shouldInitPtr()) { | ||
this.ptr = getConstructor("ARVRCamera", "ARVRCamera") | ||
} | ||
|
||
} | ||
} |
115 changes: 115 additions & 0 deletions
115
godot-kotlin/godot-library/src/nativeGen/kotlin/godot/ARVRController.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY! ALL CHANGES TO IT WILL BE OVERWRITTEN ON EACH BUILD | ||
package godot | ||
|
||
import godot.ARVRPositionalTracker | ||
import godot.core.Godot.shouldInitPtr | ||
import godot.core.Signal1 | ||
import godot.core.signal | ||
import godot.icalls._icall_Boolean | ||
import godot.icalls._icall_Double | ||
import godot.icalls._icall_Double_Long | ||
import godot.icalls._icall_Long | ||
import godot.icalls._icall_Long_Long | ||
import godot.icalls._icall_Mesh | ||
import godot.icalls._icall_String | ||
import godot.icalls._icall_Unit_Double | ||
import godot.icalls._icall_Unit_Long | ||
import godot.internal.utils.getConstructor | ||
import godot.internal.utils.getMethodBind | ||
import kotlin.Any | ||
import kotlin.Boolean | ||
import kotlin.Double | ||
import kotlin.Long | ||
import kotlin.String | ||
|
||
open class ARVRController internal constructor( | ||
_ignore: Any? | ||
) : Spatial(_ignore) { | ||
val buttonPressed: Signal1<Long> by signal("button") | ||
|
||
val buttonRelease: Signal1<Long> by signal("button") | ||
|
||
val meshUpdated: Signal1<Mesh> by signal("mesh") | ||
|
||
open var controllerId: Long | ||
get() { | ||
val mb = getMethodBind("ARVRController","get_controller_id") | ||
return _icall_Long(mb, this.ptr) | ||
} | ||
set(value) { | ||
val mb = getMethodBind("ARVRController","set_controller_id") | ||
_icall_Unit_Long(mb, this.ptr, value) | ||
} | ||
|
||
open var rumble: Double | ||
get() { | ||
val mb = getMethodBind("ARVRController","get_rumble") | ||
return _icall_Double(mb, this.ptr) | ||
} | ||
set(value) { | ||
val mb = getMethodBind("ARVRController","set_rumble") | ||
_icall_Unit_Double(mb, this.ptr, value) | ||
} | ||
|
||
constructor() : this(null) { | ||
if (shouldInitPtr()) { | ||
this.ptr = getConstructor("ARVRController", "ARVRController") | ||
} | ||
|
||
} | ||
|
||
open fun getControllerId(): Long { | ||
val mb = getMethodBind("ARVRController","get_controller_id") | ||
return _icall_Long( mb, this.ptr) | ||
} | ||
|
||
open fun getControllerName(): String { | ||
val mb = getMethodBind("ARVRController","get_controller_name") | ||
return _icall_String( mb, this.ptr) | ||
} | ||
|
||
open fun getHand(): ARVRPositionalTracker.TrackerHand { | ||
val mb = getMethodBind("ARVRController","get_hand") | ||
return ARVRPositionalTracker.TrackerHand.from( _icall_Long( mb, this.ptr)) | ||
} | ||
|
||
open fun getIsActive(): Boolean { | ||
val mb = getMethodBind("ARVRController","get_is_active") | ||
return _icall_Boolean( mb, this.ptr) | ||
} | ||
|
||
open fun getJoystickAxis(axis: Long): Double { | ||
val mb = getMethodBind("ARVRController","get_joystick_axis") | ||
return _icall_Double_Long( mb, this.ptr, axis) | ||
} | ||
|
||
open fun getJoystickId(): Long { | ||
val mb = getMethodBind("ARVRController","get_joystick_id") | ||
return _icall_Long( mb, this.ptr) | ||
} | ||
|
||
open fun getMesh(): Mesh { | ||
val mb = getMethodBind("ARVRController","get_mesh") | ||
return _icall_Mesh( mb, this.ptr) | ||
} | ||
|
||
open fun getRumble(): Double { | ||
val mb = getMethodBind("ARVRController","get_rumble") | ||
return _icall_Double( mb, this.ptr) | ||
} | ||
|
||
open fun isButtonPressed(button: Long): Long { | ||
val mb = getMethodBind("ARVRController","is_button_pressed") | ||
return _icall_Long_Long( mb, this.ptr, button) | ||
} | ||
|
||
open fun setControllerId(controllerId: Long) { | ||
val mb = getMethodBind("ARVRController","set_controller_id") | ||
_icall_Unit_Long( mb, this.ptr, controllerId) | ||
} | ||
|
||
open fun setRumble(rumble: Double) { | ||
val mb = getMethodBind("ARVRController","set_rumble") | ||
_icall_Unit_Double( mb, this.ptr, rumble) | ||
} | ||
} |
Oops, something went wrong.