Documentation ¶
Overview ¶
Package VisualShaderNodeVectorFunc provides methods for working with VisualShaderNodeVectorFunc 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) AsVisualShaderNodeVectorBase() VisualShaderNodeVectorBase.Instance
- func (self Instance) AsVisualShaderNodeVectorFunc() Instance
- func (self Instance) Function() gdclass.VisualShaderNodeVectorFuncFunction
- func (self Instance) SetFunction(value gdclass.VisualShaderNodeVectorFuncFunction)
- 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.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 ¶
type Instance [1]gdclass.VisualShaderNodeVectorFunc
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 (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) AsResource ¶
func (Instance) AsVisualShaderNode ¶
func (self Instance) AsVisualShaderNode() VisualShaderNode.Instance
func (Instance) AsVisualShaderNodeVectorBase ¶
func (self Instance) AsVisualShaderNodeVectorBase() VisualShaderNodeVectorBase.Instance
func (Instance) AsVisualShaderNodeVectorFunc ¶
func (Instance) Function ¶
func (self Instance) Function() gdclass.VisualShaderNodeVectorFuncFunction
func (Instance) SetFunction ¶
func (self Instance) SetFunction(value gdclass.VisualShaderNodeVectorFuncFunction)
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.