VisualShaderNodeParameter

package
v0.0.0-...-ae8aae0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package VisualShaderNodeParameter provides methods for working with VisualShaderNodeParameter object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsVisualShaderNodeParameter() Instance
}

type Instance

A parameter represents a variable in the shader which is set externally, i.e. from the [ShaderMaterial]. Parameters are exposed as properties in the [ShaderMaterial] and can be assigned from the Inspector or from a script.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) AsVisualShaderNode

func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance

func (Instance) AsVisualShaderNodeParameter

func (self Instance) AsVisualShaderNodeParameter() Instance

func (Instance) ParameterName

func (self Instance) ParameterName() string

func (Instance) Qualifier

func (Instance) SetParameterName

func (self Instance) SetParameterName(value string)

func (Instance) SetQualifier

func (self Instance) SetQualifier(value gdclass.VisualShaderNodeParameterQualifier)

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

type Qualifier

type Qualifier = gdclass.VisualShaderNodeParameterQualifier //gd:VisualShaderNodeParameter.Qualifier
const (
	/*The parameter will be tied to the [ShaderMaterial] using this shader.*/
	QualNone Qualifier = 0
	/*The parameter will use a global value, defined in Project Settings.*/
	QualGlobal Qualifier = 1
	/*The parameter will be tied to the node with attached [ShaderMaterial] using this shader.*/
	QualInstance Qualifier = 2
	/*Represents the size of the [enum Qualifier] enum.*/
	QualMax Qualifier = 3
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL