| WaterNodeIsUnderwater Method |
Determines whether the specified world space position is underwater.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool IsUnderwater(
Vector3F position
)
Public Function IsUnderwater (
position As Vector3F
) As Boolean
public:
bool IsUnderwater(
Vector3F position
)
member IsUnderwater :
position : Vector3F -> bool
Parameters
- position
- Type: DigitalRune.Mathematics.AlgebraVector3F
The position in world space.
Return Value
Type:
Boolean if the position is underwater; otherwise,
Remarks
A position is underwater if it is inside the
Shape of this node.
See Also