Sprite.SetWorldViewLH Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Sets the left-handed world-view transform for a sprite.
A call to this method is required before
billboarding or sorting sprites.
Definition
Visual Basic .NET |
Public Sub SetWorldViewLH( _ ByVal world As Matrix, _ ByVal view As Matrix _ ) |
C# |
public void SetWorldViewLH( Matrix world, Matrix view ); |
Managed C++ |
public: void SetWorldViewLH( Matrix world, Matrix view ); |
JScript .NET |
public function SetWorldViewLH( world : Matrix, view : Matrix ); |
Parameters
Remarks
A call to this method (or to Sprite.SetWorldViewRH) is required if the sprite will be rendered with the Billboard, SortDepthFrontToBack, or SortDepthBackToFront flags parameter in Sprite.Begin.
Exceptions
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
See Also
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center