Partilhar via


Move the direction of a light

This page applies to WPF projects only

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 under Objects and Timeline.

To move a light

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

    Note

    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 under Objects and Timeline

    Cc295369.12d404b2-daf2-4bb4-a886-bc815fb59e8a(en-us,Expression.10).png

  3. Select the SelectionCc295369.2ff91340-477e-4efa-a0f7-af20851e4daa(en-us,Expression.10).png tool from the toolbox, and then use your mouse to grab the X, Y, or Z-axis handles on the artboard to rotate or reposition the light in 3D space.

    Cc295369.05557e99-7e25-4fe9-b654-46d5fc6aad11(en-us,Expression.10).png Cc295369.1fd95e6e-9274-462d-83e9-cc0a472b140b(en-us,Expression.10).png Cc295369.19369f35-ddcf-4d84-b365-a36559a116b8(en-us,Expression.10).png

    X axis handles for Cc295369.25182a96-9a69-478a-9cfe-5b360e6a9bea(en-us,Expression.10).png Rotation, and Cc295369.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(en-us,Expression.10).png Position

    Y axis handles for Cc295369.25182a96-9a69-478a-9cfe-5b360e6a9bea(en-us,Expression.10).png Rotation, and Cc295369.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(en-us,Expression.10).png Position

    Z axis handles for Cc295369.25182a96-9a69-478a-9cfe-5b360e6a9bea(en-us,Expression.10).png Rotation, and Cc295369.05fe4b1d-f584-4bd2-99b6-8bc2d735a89d(en-us,Expression.10).png Position

Tip

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.