![JAR search and dependency download from the Maven repository](/logo.png)
godot.gen.godot.VisualShaderNodeComment.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.TypeManager
import godot.core.VariantParser.NIL
import godot.core.VariantParser.STRING
import godot.core.memory.TransferContext
import godot.util.VoidPtr
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* This node was replaced by [VisualShaderNodeFrame] and only exists to preserve compatibility. In
* the [VisualShader] editor it behaves exactly like [VisualShaderNodeFrame].
*/
@GodotBaseType
public open class VisualShaderNodeComment : VisualShaderNodeFrame() {
/**
* This property only exists to preserve data authored in earlier versions of Godot. It has
* currently no function.
*/
public final inline var description: String
@JvmName("descriptionProperty")
get() = getDescription()
@JvmName("descriptionProperty")
set(`value`) {
setDescription(value)
}
public override fun new(scriptIndex: Int): Unit {
callConstructor(ENGINECLASS_VISUALSHADERNODECOMMENT, scriptIndex)
}
public final fun setDescription(description: String): Unit {
TransferContext.writeArguments(STRING to description)
TransferContext.callMethod(rawPtr, MethodBindings.setDescriptionPtr, NIL)
}
public final fun getDescription(): String {
TransferContext.writeArguments()
TransferContext.callMethod(rawPtr, MethodBindings.getDescriptionPtr, STRING)
return (TransferContext.readReturnValue(STRING) as String)
}
public companion object
internal object MethodBindings {
public val setDescriptionPtr: VoidPtr =
TypeManager.getMethodBindPtr("VisualShaderNodeComment", "set_description", 83702148)
public val getDescriptionPtr: VoidPtr =
TypeManager.getMethodBindPtr("VisualShaderNodeComment", "get_description", 201670096)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy