Light.FromLight Method

Language:

Creates a new light based on an existing light.

Definition

Visual Basic Public Sub FromLight( _
    ByVal light As Light _
)
C# public void FromLight(
    Light light
);
C++ public:
void FromLight(
    Lightlight
);
JScript public function FromLight(
    light : Light
);

Parameters

light Microsoft.DirectX.Direct3D.Light
Existing light that is used to create the new light.

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center