Partilhar via


Move the direction of a light

Esta página se aplica somente a projetos do WPF

You can transform a light to change how it illuminates your 3D object. Lights are properties of the Viewport3D object that contains your 3D object. You can modify light settings by selecting them in the objects view in the Objects and Timeline panel.

To move a light

  1. In the Objects and Timeline panel, expand the Viewport3D object for the object that you want to modify. Within the Viewport3D object are containers for the cameras, materials, and lights.

    ObservaçãoObservação

    The materials and lights might be contained in an object that represents the world geometry. If so, expand the world geometry container object.

  2. Either select the container object for the light that you want to modify, or expand the nodes under the container object for the light until you reach the last node, as shown in the following graphic.

    3D light object selected in the Objects and Timeline panel

    Objetos e painel de linha de tempo mostrando um Viewport3D

  3. Select SelectionJJ170013.2ff91340-477e-4efa-a0f7-af20851e4daa(pt-br,VS.110).png from the Tools panel, and then use your mouse to grab the x-axis, y-axis, or z-axis handles on the artboard to rotate or reposition the light in 3D space.

    JJ170013.05557e99-7e25-4fe9-b654-46d5fc6aad11(pt-br,VS.110).png JJ170013.1fd95e6e-9274-462d-83e9-cc0a472b140b(pt-br,VS.110).png JJ170013.19369f35-ddcf-4d84-b365-a36559a116b8(pt-br,VS.110).png

    X-axis handles for Rotation JJ170013.25182a96-9a69-478a-9cfe-5b360e6a9bea(pt-br,VS.110).png, and Position JJ170013.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(pt-br,VS.110).png

    Y-axis handles for Rotation JJ170013.25182a96-9a69-478a-9cfe-5b360e6a9bea(pt-br,VS.110).png, and Position JJ170013.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(pt-br,VS.110).png

    Z-axis handles for Rotation JJ170013.25182a96-9a69-478a-9cfe-5b360e6a9bea(pt-br,VS.110).png, and Position JJ170013.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(pt-br,VS.110).png

DicaDica

The following tips are useful when you move a light:

  • Hold the SHIFT key when rotating to snap the rotation angle every 15 degrees.

  • Different handles will be available depending on the type of light you are modifying.

  • To simultaneously see the handles of all the lights that act on your object, point to 3D on the View menu, and then click Toggle Lights.

  • You can also rotate, reposition, and scale the light by using the properties in the Transform category of the Properties panel, just as you would with any object.