DirectAnimation Animated Header --DAStatic Properties Relevant to DAGeometry Objects DirectAnimation Animated Header --DAStatic Properties Relevant to DAGeometry Objects* Microsoft DirectAnimation SDK
*Contents  *Index  *Topic Contents
*Previous Topic: DAStatic Functions Relevant to DAGeometry Objects
*Next Topic: DAStatic Functions Relevant to DAImage Objects

DAStatic Properties Relevant to DAGeometry Objects



AmbientLight

DAStatics Class

A read-only property with a DAGeometry value in which the light source is ambient (room) light. The bounding box is the empty bounding box, where the maximum extent is less than the minimum extent. Ambient light is light that, instead of coming directly from a light source, bounces from surface to surface and provides overall scene-lighting. For example, if you are in a room lit by a lamp, everything not directly lit by the lamp is receiving ambient light. It leaves the lamp, bounces off the walls, the floors, the ceiling, and all around, until it reaches almost the entire room. Using too much ambient light can make a scene look washed out, while too little will yield shadowed areas that look unnaturally black. Unlike directional lights and pointlights, transformations have no effect on ambient lights.

lib.AmbientLight


DirectionalLight

DAStatics Class

A read-only property with a DAGeometry value in which the light source is positioned pointing down the negative z axis. The bounding box is the empty bounding box, where the maximum extent is less than the minimum extent. Directional light specifies a light such that the light direction is the same everywhere. This is in contrast to a positional light such as a point or spot light, where the direction to the light source changes depending on where the surface is. Directional lights are useful for simulating the sun because, from our perspective on earth, the sun's rays appear to travel in the same direction. Directional lights are also cheaper to compute than positional lights, though this difference may be negligible and should not be assumed. Transformations do have an effect on directional lights.

lib.DirectionalLight


EmptyGeometry

DAStatics Class

A read-only property with a DAGeometry value in which all points are invisible (transparent) and undetectable. The bounding box is the empty bounding box, where the maximum coordinate is less than the minimum coordinate.

lib.EmptyGeometry


PointLight

DAStatics Class

A read-only property with a DAGeometry value in which the light source is positioned at the origin and radiates light in all directions. The bounding box is the empty bounding box, where the maximum extent is less than the minimum extent. Pointlights simulate most real-world lights such as bare light bulbs, wall-mounted light fixtures, and ceiling lights. They shine in all directions, radiating outward from the center. Transformations do have an effect on pointlights.

lib.PointLight

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page