| CloudLayerNodeGetTextureCoordinates Method |
Gets the texture coordinates of the cloud texture in the specified direction.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Vector2F GetTextureCoordinates(
Vector3F direction
)
Public Function GetTextureCoordinates (
direction As Vector3F
) As Vector2F
public:
Vector2F GetTextureCoordinates(
Vector3F direction
)
member GetTextureCoordinates :
direction : Vector3F -> Vector2F
Parameters
- direction
- Type: DigitalRune.Mathematics.AlgebraVector3F
The normalized direction.
Return Value
Type:
Vector2F
The texture coordinates of the cloud texture. (The result is undefined if
direction does not point towards the sky.)
See Also