RescaleNode

 

Introduced

7.0

UI Location

• Math > Basic

Description

Outputs a value between the Target Start and Target End values that is proportional to the value between the Source Start and Source End values.

Tip: The output can be clamped to the Target interval when the input Value falls outside of the the Source interval.

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

value

Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The value to rescale.

sourcestart

Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Minimum value for the Source range.

sourceend

Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Maximum value for the Source range.

targetstart

Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Minimum value for the Source range.

targetend

Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

Maximum value for the Source range.

clamp

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

True to clamp the output value to the Target interval when the input Value falls outside of the the Source interval.

Outputs

Port Name

Connection Info

Description

result

Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The rescaled value.

Restrictions

• These types must match: value, sourcestart, sourceend, targetstart, targetend, result

• These structures must match: value, sourcestart, sourceend, targetstart, targetend, result

• These contexts must match: value, sourcestart, sourceend, targetstart, targetend, result

See Also

AbsoluteValueNode

AddNode

BlendNode

ClampNode

DivideByScalarNode

ExponentNode

InvertNode

LinearInterpolateNode

LogarithmNode

ModuloNode

MultiplyNode

MultiplyByScalarNode

NegateNode

QuaternionInterpolateNode

RoundNode

SquareRootNode

SubtractNode

 

 

 



Autodesk Softimage v7.5