godot.gen.godot.PhysicsDirectBodyState3DExtension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-library-release Show documentation
Show all versions of godot-library-release Show documentation
Contains godot api as kotlin classes and jvm cpp interaction code.
// THIS FILE IS GENERATED! DO NOT EDIT IT MANUALLY!
@file:Suppress("PackageDirectoryMismatch", "unused", "FunctionName", "RedundantModalityModifier",
"UNCHECKED_CAST", "JoinDeclarationAndAssignment", "USELESS_CAST",
"RemoveRedundantQualifierName", "NOTHING_TO_INLINE", "NON_FINAL_MEMBER_IN_OBJECT",
"RedundantVisibilityModifier", "RedundantUnitReturnType", "MemberVisibilityCanBePrivate")
package godot
import godot.`annotation`.GodotBaseType
import godot.core.Basis
import godot.core.RID
import godot.core.Transform3D
import godot.core.TypeManager
import godot.core.Vector3
import godot.util.VoidPtr
import kotlin.Boolean
import kotlin.Float
import kotlin.Int
import kotlin.Long
import kotlin.NotImplementedError
import kotlin.Suppress
import kotlin.Unit
/**
* Provides virtual methods that can be overridden to create custom [godot.PhysicsDirectBodyState3D] implementations.
*
* This class extends [godot.PhysicsDirectBodyState3D] by providing additional virtual methods that can be overridden. When these methods are overridden, they will be called instead of the internal methods of the physics server.
*
* Intended for use with GDExtension to create custom implementations of [godot.PhysicsDirectBodyState3D].
*/
@GodotBaseType
public open class PhysicsDirectBodyState3DExtension : PhysicsDirectBodyState3D() {
public override fun new(scriptIndex: Int): Boolean {
callConstructor(ENGINECLASS_PHYSICSDIRECTBODYSTATE3DEXTENSION, scriptIndex)
return true
}
/**
*
*/
public open fun _getTotalGravity(): Vector3 {
throw NotImplementedError("_get_total_gravity is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getTotalLinearDamp(): Float {
throw NotImplementedError("_get_total_linear_damp is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getTotalAngularDamp(): Float {
throw NotImplementedError("_get_total_angular_damp is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getCenterOfMass(): Vector3 {
throw NotImplementedError("_get_center_of_mass is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getCenterOfMassLocal(): Vector3 {
throw NotImplementedError("_get_center_of_mass_local is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getPrincipalInertiaAxes(): Basis {
throw NotImplementedError("_get_principal_inertia_axes is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getInverseMass(): Float {
throw NotImplementedError("_get_inverse_mass is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getInverseInertia(): Vector3 {
throw NotImplementedError("_get_inverse_inertia is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getInverseInertiaTensor(): Basis {
throw NotImplementedError("_get_inverse_inertia_tensor is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _setLinearVelocity(velocity: Vector3): Unit {
}
/**
*
*/
public open fun _getLinearVelocity(): Vector3 {
throw NotImplementedError("_get_linear_velocity is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _setAngularVelocity(velocity: Vector3): Unit {
}
/**
*
*/
public open fun _getAngularVelocity(): Vector3 {
throw NotImplementedError("_get_angular_velocity is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _setTransform(transform: Transform3D): Unit {
}
/**
*
*/
public open fun _getTransform(): Transform3D {
throw NotImplementedError("_get_transform is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getVelocityAtLocalPosition(localPosition: Vector3): Vector3 {
throw NotImplementedError("_get_velocity_at_local_position is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _applyCentralImpulse(impulse: Vector3): Unit {
}
/**
*
*/
public open fun _applyImpulse(impulse: Vector3, position: Vector3): Unit {
}
/**
*
*/
public open fun _applyTorqueImpulse(impulse: Vector3): Unit {
}
/**
*
*/
public open fun _applyCentralForce(force: Vector3): Unit {
}
/**
*
*/
public open fun _applyForce(force: Vector3, position: Vector3): Unit {
}
/**
*
*/
public open fun _applyTorque(torque: Vector3): Unit {
}
/**
*
*/
public open fun _addConstantCentralForce(force: Vector3): Unit {
}
/**
*
*/
public open fun _addConstantForce(force: Vector3, position: Vector3): Unit {
}
/**
*
*/
public open fun _addConstantTorque(torque: Vector3): Unit {
}
/**
*
*/
public open fun _setConstantForce(force: Vector3): Unit {
}
/**
*
*/
public open fun _getConstantForce(): Vector3 {
throw NotImplementedError("_get_constant_force is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _setConstantTorque(torque: Vector3): Unit {
}
/**
*
*/
public open fun _getConstantTorque(): Vector3 {
throw NotImplementedError("_get_constant_torque is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _setSleepState(enabled: Boolean): Unit {
}
/**
*
*/
public open fun _isSleeping(): Boolean {
throw NotImplementedError("_is_sleeping is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactCount(): Int {
throw NotImplementedError("_get_contact_count is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactLocalPosition(contactIdx: Int): Vector3 {
throw NotImplementedError("_get_contact_local_position is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactLocalNormal(contactIdx: Int): Vector3 {
throw NotImplementedError("_get_contact_local_normal is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactImpulse(contactIdx: Int): Vector3 {
throw NotImplementedError("_get_contact_impulse is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactLocalShape(contactIdx: Int): Int {
throw NotImplementedError("_get_contact_local_shape is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactLocalVelocityAtPosition(contactIdx: Int): Vector3 {
throw NotImplementedError("_get_contact_local_velocity_at_position is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactCollider(contactIdx: Int): RID {
throw NotImplementedError("_get_contact_collider is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactColliderPosition(contactIdx: Int): Vector3 {
throw NotImplementedError("_get_contact_collider_position is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactColliderId(contactIdx: Int): Long {
throw NotImplementedError("_get_contact_collider_id is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactColliderObject(contactIdx: Int): Object? {
throw NotImplementedError("_get_contact_collider_object is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactColliderShape(contactIdx: Int): Int {
throw NotImplementedError("_get_contact_collider_shape is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getContactColliderVelocityAtPosition(contactIdx: Int): Vector3 {
throw NotImplementedError("_get_contact_collider_velocity_at_position is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _getStep(): Float {
throw NotImplementedError("_get_step is not implemented for PhysicsDirectBodyState3DExtension")
}
/**
*
*/
public open fun _integrateForces(): Unit {
}
/**
*
*/
public open fun _getSpaceState(): PhysicsDirectSpaceState3D? {
throw NotImplementedError("_get_space_state is not implemented for PhysicsDirectBodyState3DExtension")
}
public companion object
internal object MethodBindings {
public val _getTotalGravityPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_total_gravity")
public val _getTotalLinearDampPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_total_linear_damp")
public val _getTotalAngularDampPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_total_angular_damp")
public val _getCenterOfMassPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_center_of_mass")
public val _getCenterOfMassLocalPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_center_of_mass_local")
public val _getPrincipalInertiaAxesPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_principal_inertia_axes")
public val _getInverseMassPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_inverse_mass")
public val _getInverseInertiaPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_inverse_inertia")
public val _getInverseInertiaTensorPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_inverse_inertia_tensor")
public val _setLinearVelocityPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_set_linear_velocity")
public val _getLinearVelocityPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_linear_velocity")
public val _setAngularVelocityPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_set_angular_velocity")
public val _getAngularVelocityPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_angular_velocity")
public val _setTransformPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_set_transform")
public val _getTransformPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_transform")
public val _getVelocityAtLocalPositionPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_velocity_at_local_position")
public val _applyCentralImpulsePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_apply_central_impulse")
public val _applyImpulsePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_apply_impulse")
public val _applyTorqueImpulsePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_apply_torque_impulse")
public val _applyCentralForcePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_apply_central_force")
public val _applyForcePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_apply_force")
public val _applyTorquePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_apply_torque")
public val _addConstantCentralForcePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_add_constant_central_force")
public val _addConstantForcePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_add_constant_force")
public val _addConstantTorquePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_add_constant_torque")
public val _setConstantForcePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_set_constant_force")
public val _getConstantForcePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_constant_force")
public val _setConstantTorquePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_set_constant_torque")
public val _getConstantTorquePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_constant_torque")
public val _setSleepStatePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_set_sleep_state")
public val _isSleepingPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_is_sleeping")
public val _getContactCountPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_count")
public val _getContactLocalPositionPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_local_position")
public val _getContactLocalNormalPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_local_normal")
public val _getContactImpulsePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_impulse")
public val _getContactLocalShapePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_local_shape")
public val _getContactLocalVelocityAtPositionPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_local_velocity_at_position")
public val _getContactColliderPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_collider")
public val _getContactColliderPositionPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_collider_position")
public val _getContactColliderIdPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_collider_id")
public val _getContactColliderObjectPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_collider_object")
public val _getContactColliderShapePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_collider_shape")
public val _getContactColliderVelocityAtPositionPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_contact_collider_velocity_at_position")
public val _getStepPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_step")
public val _integrateForcesPtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_integrate_forces")
public val _getSpaceStatePtr: VoidPtr =
TypeManager.getMethodBindPtr("PhysicsDirectBodyState3DExtension", "_get_space_state")
}
}