Light.FromLight(Light) Method (Microsoft.DirectX.Direct3D)
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(
Light^ light
);JScript public function FromLight(
light : Light
);
Parameters
light Microsoft.DirectX.Direct3D.Light
Existing light that is used to create the new light.