Byte4 Constructor (Single, Single, Single, Single)
Initializes a new instance of the Byte4 class.
Syntax
'Declaration
Public Sub New ( _
x As Single, _
y As Single, _
z As Single, _
w As Single _
)
public Byte4 (
float x,
float y,
float z,
float w
)
public:
Byte4(
float x,
float y,
float z,
float w
)
Parameters
- x
Type: Single
Initial value for the x component. - y
Type: Single
Initial value for the y component. - z
Type: Single
Initial value for the z component. - w
Type: Single
Initial value for the w component.
Requirements
Namespace: Microsoft.Xna.Framework.Graphics.PackedVector
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Byte4 Structure
Byte4 Members
Microsoft.Xna.Framework.Graphics.PackedVector Namespace
Platforms
Windows Phone