RoundNode

Associated Parameters: RoundNode

Introduced

7.0

UI Location

• Math > Basic

Description

Outputs the neighboring integer of the specified scalar depending on the the value of the Function parameter, which determines the rounding method to use:

[0] - Round outputs the nearest integer of the input scalar.

[1] - Ceiling outputs the smallest integer greater than or equal to the input scalar,

[2] - Floor outputs the highest integer less than or equal to the input scalar.

Parameters

Parameter Name

Scripting Name

Type

Description

Function

function

Integer

Function

Possible Values:

0: Round

1: Ceiling

2: Floor

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

value

Type: siICENodeDataFloat

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The scalar to round.

Outputs

Port Name

Connection Info

Description

scalar

Type: siICENodeDataFloat

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The neighbouring integer converted to a scalar.

integer

Type: siICENodeDataLong

Structure: siICENodeStructureAny

Context: siICENodeContextAny

The neighbouring integer.

Restrictions

• These structures must match: value, scalar, integer

• These contexts must match: value, scalar, integer

See Also

AbsoluteValueNode

AddNode

BlendNode

ClampNode

DivideByScalarNode

ExponentNode

InvertNode

LinearInterpolateNode

LogarithmNode

ModuloNode

MultiplyNode

MultiplyByScalarNode

NegateNode

QuaternionInterpolateNode

RescaleNode

SquareRootNode

SubtractNode

 

 

 



Autodesk Softimage v7.5