Click or drag to resize
AB4D logo

LightingRigVisual3D Methods

The LightingRigVisual3D type exposes the following members.

Methods
 NameDescription
Public methodStatic memberGetColorFromBrightness Returns a color that is defined by brightness - a percentage of used White color. 1 means full White, 0.5 means half white (R = 128, G = 128, B = 128)-
Protected methodStatic memberOnColorPropertyChanged OnKeyLightDirectionPropertyChanged
Protected methodStatic memberOnKeyLightDirectionPropertyChanged OnKeyLightDirectionPropertyChanged
Public methodSetKeyLightDirection Sets the key light direction with using simple heading and attitude values (in degrees).
Protected methodStatic memberValidateKeyLightDirectionPropertyValue Returns true if value is valid direction for key light.
Top
Extension Methods
 NameDescription
Public Extension MethodDumpHierarchy Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions)
Public Extension MethodForEachGeometryModel3D Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodForEachVisual3D Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions)
Public Extension MethodGetName Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions)
Public Extension MethodSetName Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores). In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions)
Top
See Also