isEqual Method

Returns true if the two nodes represent internally the same innerObj.

isEqual(node);

 

Parameter

Description

node

Object of the type SGNode

Remarks

It is possible to create a situation where two instances of SGNode refer to the same object on the terrain. This method provides a way to test if the caller’s node and the node parameter are referring to the same object on the terrain (denoted by their innerObj property)