godot.gen.godot.FBXState.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-library-debug Show documentation
Show all versions of godot-library-debug Show documentation
Contains godot api as kotlin classes and jvm cpp interaction code.
The newest version!
// 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.TypeManager
import godot.core.VariantParser.BOOL
import godot.core.VariantParser.NIL
import godot.core.memory.TransferContext
import godot.util.VoidPtr
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* The FBXState handles the state data imported from FBX files.
*/
@GodotBaseType
public open class FBXState : GLTFState() {
/**
* If `true`, the import process used auxiliary nodes called geometry helper nodes. These nodes
* help preserve the pivots and transformations of the original 3D model during import.
*/
public final inline var allowGeometryHelperNodes: Boolean
@JvmName("allowGeometryHelperNodesProperty")
get() = getAllowGeometryHelperNodes()
@JvmName("allowGeometryHelperNodesProperty")
set(`value`) {
setAllowGeometryHelperNodes(value)
}
public override fun new(scriptIndex: Int): Unit {
callConstructor(ENGINECLASS_FBXSTATE, scriptIndex)
}
public final fun getAllowGeometryHelperNodes(): Boolean {
TransferContext.writeArguments()
TransferContext.callMethod(rawPtr, MethodBindings.getAllowGeometryHelperNodesPtr, BOOL)
return (TransferContext.readReturnValue(BOOL) as Boolean)
}
public final fun setAllowGeometryHelperNodes(allow: Boolean): Unit {
TransferContext.writeArguments(BOOL to allow)
TransferContext.callMethod(rawPtr, MethodBindings.setAllowGeometryHelperNodesPtr, NIL)
}
public companion object
internal object MethodBindings {
public val getAllowGeometryHelperNodesPtr: VoidPtr =
TypeManager.getMethodBindPtr("FBXState", "get_allow_geometry_helper_nodes", 2240911060)
public val setAllowGeometryHelperNodesPtr: VoidPtr =
TypeManager.getMethodBindPtr("FBXState", "set_allow_geometry_helper_nodes", 2586408642)
}
}