Bagikan melalui


Color Constructor (Vector3)

Creates a new instance of the class.

Syntax

'Declaration
Public Sub New ( _
         vector As Vector3 _
)
public Color (
         Vector3 vector
)
public:
Color(
         Vector3 vector
)

Parameters

  • vector
    Type: Vector3
    A three-component color.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone