VisualShaderNodeVectorFunc

package
v0.0.0-...-7325ca5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package VisualShaderNodeVectorFunc provides methods for working with VisualShaderNodeVectorFunc 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
	AsVisualShaderNodeVectorFunc() Instance
}

type Function

type Function = gdclass.VisualShaderNodeVectorFuncFunction //gd:VisualShaderNodeVectorFunc.Function
const (
	/*Normalizes the vector so that it has a length of [code]1[/code] but points in the same direction.*/
	FuncNormalize Function = 0
	/*Clamps the value between [code]0.0[/code] and [code]1.0[/code].*/
	FuncSaturate Function = 1
	/*Returns the opposite value of the parameter.*/
	FuncNegate Function = 2
	/*Returns [code]1/vector[/code].*/
	FuncReciprocal Function = 3
	/*Returns the absolute value of the parameter.*/
	FuncAbs Function = 4
	/*Returns the arc-cosine of the parameter.*/
	FuncAcos Function = 5
	/*Returns the inverse hyperbolic cosine of the parameter.*/
	FuncAcosh Function = 6
	/*Returns the arc-sine of the parameter.*/
	FuncAsin Function = 7
	/*Returns the inverse hyperbolic sine of the parameter.*/
	FuncAsinh Function = 8
	/*Returns the arc-tangent of the parameter.*/
	FuncAtan Function = 9
	/*Returns the inverse hyperbolic tangent of the parameter.*/
	FuncAtanh Function = 10
	/*Finds the nearest integer that is greater than or equal to the parameter.*/
	FuncCeil Function = 11
	/*Returns the cosine of the parameter.*/
	FuncCos Function = 12
	/*Returns the hyperbolic cosine of the parameter.*/
	FuncCosh Function = 13
	/*Converts a quantity in radians to degrees.*/
	FuncDegrees Function = 14
	/*Base-e Exponential.*/
	FuncExp Function = 15
	/*Base-2 Exponential.*/
	FuncExp2 Function = 16
	/*Finds the nearest integer less than or equal to the parameter.*/
	FuncFloor Function = 17
	/*Computes the fractional part of the argument.*/
	FuncFract Function = 18
	/*Returns the inverse of the square root of the parameter.*/
	FuncInverseSqrt Function = 19
	/*Natural logarithm.*/
	FuncLog Function = 20
	/*Base-2 logarithm.*/
	FuncLog2 Function = 21
	/*Converts a quantity in degrees to radians.*/
	FuncRadians Function = 22
	/*Finds the nearest integer to the parameter.*/
	FuncRound Function = 23
	/*Finds the nearest even integer to the parameter.*/
	FuncRoundeven Function = 24
	/*Extracts the sign of the parameter, i.e. returns [code]-1[/code] if the parameter is negative, [code]1[/code] if it's positive and [code]0[/code] otherwise.*/
	FuncSign Function = 25
	/*Returns the sine of the parameter.*/
	FuncSin Function = 26
	/*Returns the hyperbolic sine of the parameter.*/
	FuncSinh Function = 27
	/*Returns the square root of the parameter.*/
	FuncSqrt Function = 28
	/*Returns the tangent of the parameter.*/
	FuncTan Function = 29
	/*Returns the hyperbolic tangent of the parameter.*/
	FuncTanh Function = 30
	/*Returns a value equal to the nearest integer to the parameter whose absolute value is not larger than the absolute value of the parameter.*/
	FuncTrunc Function = 31
	/*Returns [code]1.0 - vector[/code].*/
	FuncOneminus Function = 32
	/*Represents the size of the [enum Function] enum.*/
	FuncMax Function = 33
)

type Instance

A visual shader node able to perform different functions using vectors.

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) AsVisualShaderNodeVectorBase

func (self Instance) AsVisualShaderNodeVectorBase() VisualShaderNodeVectorBase.Instance

func (Instance) AsVisualShaderNodeVectorFunc

func (self Instance) AsVisualShaderNodeVectorFunc() Instance

func (Instance) Function

func (Instance) SetFunction

func (self Instance) SetFunction(value gdclass.VisualShaderNodeVectorFuncFunction)

func (*Instance) UnsafePointer

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

func (Instance) Virtual

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

Jump to

Keyboard shortcuts

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