Documentation ¶
Overview ¶
Package VisualShaderNodeUVFunc provides methods for working with VisualShaderNodeUVFunc object instances.
Index ¶
- type Advanced
- type Any
- type Function
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) AsResource() Resource.Instance
- func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
- func (self Instance) AsVisualShaderNodeUVFunc() Instance
- func (self Instance) Function() gdclass.VisualShaderNodeUVFuncFunction
- func (self Instance) SetFunction(value gdclass.VisualShaderNodeUVFuncFunction)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
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 Function ¶
type Function = gdclass.VisualShaderNodeUVFuncFunction //gd:VisualShaderNodeUVFunc.Function
const ( /*Translates [code]uv[/code] by using [code]scale[/code] and [code]offset[/code] values using the following formula: [code]uv = uv + offset * scale[/code]. [code]uv[/code] port is connected to [code]UV[/code] built-in by default.*/ FuncPanning Function = 0 /*Scales [code]uv[/code] by using [code]scale[/code] and [code]pivot[/code] values using the following formula: [code]uv = (uv - pivot) * scale + pivot[/code]. [code]uv[/code] port is connected to [code]UV[/code] built-in by default.*/ FuncScaling Function = 1 /*Represents the size of the [enum Function] enum.*/ FuncMax Function = 2 )
type Instance ¶
type Instance [1]gdclass.VisualShaderNodeUVFunc
UV functions are similar to [Vector2] functions, but the input port of this node uses the shader's UV value by default.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) AsVisualShaderNode ¶
func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
func (Instance) AsVisualShaderNodeUVFunc ¶
func (Instance) Function ¶
func (self Instance) Function() gdclass.VisualShaderNodeUVFuncFunction
func (Instance) SetFunction ¶
func (self Instance) SetFunction(value gdclass.VisualShaderNodeUVFuncFunction)
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.