Click or drag to resize
DigitalRuneAscendingNodeComparerCompare Method
Compares two SceneNodes.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public int Compare(
	SceneNode x,
	SceneNode y
)

Parameters

x
Type: DigitalRune.Graphics.SceneGraphSceneNode
The first SceneNode to compare.
y
Type: DigitalRune.Graphics.SceneGraphSceneNode
The second SceneNode to compare.

Return Value

Type: Int32
ValueCondition
Less than zerox is less than y.
Zerox equals y.
Greater than zerox is greater than y.

Implements

IComparerTCompare(T, T)
See Also