Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media3D / PointLight.cs / 1 / PointLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D positional light implementation. // // See spec at [....]/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/25/2003 : [....] - Created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Windows.Media; using System.Windows.Media.Composition; using MS.Internal; using System.ComponentModel.Design.Serialization; using System.Windows.Markup; namespace System.Windows.Media.Media3D { ////// Positional lights have a position in space and project their light in all directions. /// The falloff of the light is controlled by attenuation and range properties. /// public sealed partial class PointLight : PointLightBase { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors ////// Default constructor that creates a white PointLight at the origin. /// public PointLight() {} ////// Constructor. /// /// Diffuse color for the new positional light. /// Position of the new positional light. public PointLight(Color diffuseColor, Point3D position) : this() { // Set PointLightBase properties Color = diffuseColor; Position = position; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- //------------------------------------------------------ // // Public Events // //------------------------------------------------------ //----------------------------------------------------- // // Private Fields // //------------------------------------------------------ } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextContainerHelper.cs
- HttpListenerException.cs
- COM2ColorConverter.cs
- GenerateScriptTypeAttribute.cs
- TextServicesManager.cs
- CompareValidator.cs
- DependencyPropertyKind.cs
- TextBox.cs
- DiagnosticsConfigurationHandler.cs
- Authorization.cs
- BackStopAuthenticationModule.cs
- EarlyBoundInfo.cs
- Matrix3D.cs
- VirtualDirectoryMapping.cs
- SqlCommand.cs
- DataPagerCommandEventArgs.cs
- GridEntry.cs
- LineBreak.cs
- DataGridHeaderBorder.cs
- BStrWrapper.cs
- CommandDesigner.cs
- AdCreatedEventArgs.cs
- WebSysDefaultValueAttribute.cs
- HyperLinkField.cs
- HtmlInputControl.cs
- Enlistment.cs
- ToolBarOverflowPanel.cs
- JoinSymbol.cs
- XhtmlBasicPanelAdapter.cs
- DeclarativeCatalogPart.cs
- FormViewInsertEventArgs.cs
- ListItemConverter.cs
- BitmapEffectGeneralTransform.cs
- QueryContinueDragEventArgs.cs
- LayoutInformation.cs
- ConstraintStruct.cs
- ParameterCollectionEditorForm.cs
- BaseResourcesBuildProvider.cs
- DataControlFieldHeaderCell.cs
- Parser.cs
- DecoderExceptionFallback.cs
- JoinCqlBlock.cs
- IconConverter.cs
- BitmapEffectInput.cs
- OleDbTransaction.cs
- UniformGrid.cs
- MouseActionValueSerializer.cs
- Substitution.cs
- SnapLine.cs
- BrowserDefinition.cs
- UInt32Converter.cs
- TypeGenericEnumerableViewSchema.cs
- CollectionViewGroupRoot.cs
- ToolTipAutomationPeer.cs
- CharacterBufferReference.cs
- DataGridViewTextBoxCell.cs
- FontResourceCache.cs
- BitmapPalette.cs
- BasePropertyDescriptor.cs
- ProfileParameter.cs
- SystemFonts.cs
- OpenFileDialog.cs
- dbenumerator.cs
- DoubleUtil.cs
- LocatorPartList.cs
- DbProviderFactory.cs
- MenuCommand.cs
- MimeFormReflector.cs
- UpdateCommandGenerator.cs
- ColorPalette.cs
- QilInvoke.cs
- ExpressionHelper.cs
- Matrix3DConverter.cs
- Int32Rect.cs
- ReadOnlyHierarchicalDataSource.cs
- While.cs
- URL.cs
- HtmlInputText.cs
- InsufficientMemoryException.cs
- DataSourceXmlTextReader.cs
- StructuredProperty.cs
- EngineSiteSapi.cs
- ExitEventArgs.cs
- VolatileEnlistmentState.cs
- ObjectSpanRewriter.cs
- ObjectDataSourceFilteringEventArgs.cs
- TextContainerHelper.cs
- DataGridViewColumnTypeEditor.cs
- AsyncPostBackErrorEventArgs.cs
- TransformerTypeCollection.cs
- WebPartsSection.cs
- WhitespaceRuleReader.cs
- Char.cs
- DiscoveryInnerClientAdhoc11.cs
- Menu.cs
- CharUnicodeInfo.cs
- CompiledRegexRunnerFactory.cs
- SiteMapDataSourceView.cs
- ToolStripArrowRenderEventArgs.cs
- CommentEmitter.cs