Documentation
¶
Overview ¶
Package VisualShaderNodeIntParameter provides methods for working with VisualShaderNodeIntParameter object instances.
Index ¶
- type Advanced
- type Any
- type Extension
- func (self *Extension[T]) AsObject() [1]gd.Object
- func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
- func (self *Extension[T]) AsResource() Resource.Instance
- func (self *Extension[T]) AsVisualShaderNode() VisualShaderNode.Instance
- func (self *Extension[T]) AsVisualShaderNodeIntParameter() Instance
- func (self *Extension[T]) AsVisualShaderNodeParameter() VisualShaderNodeParameter.Instance
- type Hint
- type ID
- 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) AsVisualShaderNodeIntParameter() Instance
- func (self Instance) AsVisualShaderNodeParameter() VisualShaderNodeParameter.Instance
- func (self Instance) DefaultValue() int
- func (self Instance) DefaultValueEnabled() bool
- func (self Instance) EnumNames() []string
- func (self Instance) Hint() Hint
- func (self Instance) ID() ID
- func (self Instance) Max() int
- func (self Instance) Min() int
- func (self Instance) SetDefaultValue(value int)
- func (self Instance) SetDefaultValueEnabled(value bool)
- func (self Instance) SetEnumNames(value []string)
- func (self Instance) SetHint(value Hint)
- func (self Instance) SetMax(value int)
- func (self Instance) SetMin(value int)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetStep(value int)
- func (self Instance) Step() int
- 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 Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension
func (*Extension[T]) AsRefCounted ¶
func (self *Extension[T]) AsRefCounted() [1]gd.RefCounted
func (*Extension[T]) AsResource ¶
func (*Extension[T]) AsVisualShaderNode ¶
func (self *Extension[T]) AsVisualShaderNode() VisualShaderNode.Instance
func (*Extension[T]) AsVisualShaderNodeIntParameter ¶
func (*Extension[T]) AsVisualShaderNodeParameter ¶
func (self *Extension[T]) AsVisualShaderNodeParameter() VisualShaderNodeParameter.Instance
type Hint ¶
type Hint int //gd:VisualShaderNodeIntParameter.Hint
const ( /*The parameter will not constrain its value.*/ HintNone Hint = 0 /*The parameter's value must be within the specified [member min]/[member max] range.*/ HintRange Hint = 1 /*The parameter's value must be within the specified range, with the given [member step] between values.*/ HintRangeStep Hint = 2 /*The parameter uses an enum to associate preset values to names in the editor.*/ HintEnum Hint = 3 /*Represents the size of the [enum Hint] enum.*/ HintMax Hint = 4 )
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Instance ¶
type Instance [1]gdclass.VisualShaderNodeIntParameter
A [VisualShaderNodeParameter] of type [int]. Offers additional customization for range of accepted values.
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) AsVisualShaderNodeIntParameter ¶
func (Instance) AsVisualShaderNodeParameter ¶
func (self Instance) AsVisualShaderNodeParameter() VisualShaderNodeParameter.Instance