Documentation
¶
Index ¶
- Constants
- Variables
- func CompareWeight(a, b WeightData) bool
- type ChainNode
- type DrawModifierNode
- type Element
- type InspectableModifier
- type LayoutContext
- type LayoutModifierNode
- type LayoutWidget
- type Modifier
- type ModifierInspectorInfo
- type Node
- type PointerModifierNode
- type TreeNode
- type WeightData
- type WeightElement
- type WeightNode
Constants ¶
View Source
const WeightElementKey = "weight"
Variables ¶
View Source
var Clamp = helpers.Clamp
View Source
var EmptyModifier = modifier.EmptyModifier
Functions ¶
func CompareWeight ¶
func CompareWeight(a, b WeightData) bool
Types ¶
type ChainNode ¶
func NewWeightNode ¶
func NewWeightNode(element WeightElement) ChainNode
type DrawModifierNode ¶
type DrawModifierNode = layoutnode.DrawModifierNode
type InspectableModifier ¶
type InspectableModifier = modifier.InspectableModifier
type LayoutContext ¶
type LayoutContext = layoutnode.LayoutContext
type LayoutModifierNode ¶
type LayoutModifierNode = layoutnode.LayoutModifierNode
type LayoutWidget ¶
type LayoutWidget = layoutnode.LayoutWidget
type ModifierInspectorInfo ¶
type ModifierInspectorInfo = modifier.InspectorInfo
type PointerModifierNode ¶
type PointerModifierNode = layoutnode.PointerInputModifierNode
type WeightData ¶
type WeightData struct {
Weight float32
}
type WeightElement ¶
type WeightElement struct {
// contains filtered or unexported fields
}
func (WeightElement) Create ¶
func (e WeightElement) Create() Node
Create creates a new Chain Node instance
func (WeightElement) Equals ¶
func (se WeightElement) Equals(other Element) bool
Equals checks if this element is equivalent to another used during filter operations like Modifier.Any
func (WeightElement) Update ¶
func (e WeightElement) Update(node Node)
Update updates an existing Chain node for efficiency
func (WeightElement) WeightData ¶
func (se WeightElement) WeightData() WeightData
type WeightNode ¶
type WeightNode struct {
ChainNode
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.