ParameterBinding

A binding to a parameter, of a given value type

Members

Functions

apply
void apply(vec2u leftKeypoint, vec2 offset)

Apply a binding to the model at the given parameter value

clear
void clear()

Clear all keypoint data

copyKeypointToBinding
void copyKeypointToBinding(vec2u src, ParameterBinding other, vec2u dest)

Copies the value to a point on another compatible binding

deleteKeypoints
void deleteKeypoints(uint axis, uint index)

Remove keypoints along an axis point

deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)

Deserialize

extrapolateValueAt
void extrapolateValueAt(vec2u index, int axis)

Extrapolates the value across an axis

finalize
void finalize(Puppet puppet)

Finalize loading of parameter

getIsSet
bool[][] getIsSet()

Returns isSet_

getName
string getName()

Gets name of binding

getNode
Node getNode()

Gets the node of the binding

getNodeUUID
uint getNodeUUID()

Gets the uuid of the node of the binding

getSetCount
uint getSetCount()

Gets how many breakpoints this binding is set to

getTarget
BindTarget getTarget()

Gets target of binding

insertKeypoints
void insertKeypoints(uint axis, uint index)

Add keypoints along a new axis point

interpolateMode
InterpolateMode interpolateMode()

Gets the interpolation mode

interpolateMode
void interpolateMode(InterpolateMode mode)

Sets the interpolation mode

isCompatibleWithNode
bool isCompatibleWithNode(Node other)

Checks whether a binding is compatible with another node

isSet
bool isSet(vec2u index)

Returns whether the specified keypoint is set

moveKeypoints
void moveKeypoints(uint axis, uint oldindex, uint index)

Move keypoints to a new axis point

reInterpolate
void reInterpolate()

Update keypoint interpolation

reset
void reset(vec2u point)

Resets value at specified keypoint to default

reverseAxis
void reverseAxis(uint axis)

Flip the keypoints on an axis

scaleValueAt
void scaleValueAt(vec2u index, int axis, float scale)

Scales the value, optionally with axis awareness

serializeSelf
void serializeSelf(InochiSerializerCompact serializer)

Serialize

serializeSelf
void serializeSelf(InochiSerializer serializer)

Serialize

setCurrent
void setCurrent(vec2u point)

Sets value at specified keypoint to the current value

swapKeypointWithBinding
void swapKeypointWithBinding(vec2u src, ParameterBinding other, vec2u dest)

Swaps the value to a point on another compatible binding

unset
void unset(vec2u point)

Unsets value at specified keypoint

Meta