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
- RawKeyboardInputReport.cs
- ScriptServiceAttribute.cs
- WebPartTransformerCollection.cs
- ServiceCredentialsElement.cs
- WeakEventManager.cs
- ContentIterators.cs
- HtmlForm.cs
- ProxyWebPartConnectionCollection.cs
- RedirectionProxy.cs
- ImageButton.cs
- CompositeActivityTypeDescriptorProvider.cs
- RenderTargetBitmap.cs
- PropertyGridView.cs
- PageThemeParser.cs
- Latin1Encoding.cs
- Dispatcher.cs
- Convert.cs
- BitmapEffect.cs
- RemoteWebConfigurationHostServer.cs
- PersonalizationState.cs
- NullableConverter.cs
- IgnoreDataMemberAttribute.cs
- IdentityReference.cs
- AsyncDataRequest.cs
- RowType.cs
- DataGridViewCellStyle.cs
- XamlReaderHelper.cs
- PassportPrincipal.cs
- CompositeControl.cs
- CroppedBitmap.cs
- ProvideValueServiceProvider.cs
- AdPostCacheSubstitution.cs
- Semaphore.cs
- GPRECTF.cs
- DocumentSequence.cs
- LoadedEvent.cs
- ImageFormat.cs
- _KerberosClient.cs
- RequestDescription.cs
- FormsAuthenticationCredentials.cs
- FixedTextView.cs
- dtdvalidator.cs
- CompilerCollection.cs
- InputScopeNameConverter.cs
- VectorCollection.cs
- ApplicationSettingsBase.cs
- SkewTransform.cs
- RoutedEventConverter.cs
- MouseGestureValueSerializer.cs
- ComponentResourceManager.cs
- UInt64Converter.cs
- GridViewCommandEventArgs.cs
- ISessionStateStore.cs
- SqlXml.cs
- ValidationSummaryDesigner.cs
- CmsInterop.cs
- ErrorStyle.cs
- SessionStateContainer.cs
- TextTreePropertyUndoUnit.cs
- NavigationService.cs
- FileDialogCustomPlace.cs
- MsmqProcessProtocolHandler.cs
- TextEndOfParagraph.cs
- ThreadAttributes.cs
- Duration.cs
- DesignUtil.cs
- DataExpression.cs
- KernelTypeValidation.cs
- CodeAttributeDeclarationCollection.cs
- LineServicesRun.cs
- SmiMetaData.cs
- coordinatorscratchpad.cs
- OracleException.cs
- ResourceExpression.cs
- ViewGenResults.cs
- DropTarget.cs
- HttpRawResponse.cs
- TextViewElement.cs
- WebPartZoneBase.cs
- FileController.cs
- XsltOutput.cs
- ExpressionLink.cs
- RectangleGeometry.cs
- ElementAtQueryOperator.cs
- DiagnosticsConfiguration.cs
- QuaternionAnimation.cs
- GridViewHeaderRowPresenter.cs
- ObjectNotFoundException.cs
- DependencyObject.cs
- BinaryObjectWriter.cs
- MailMessage.cs
- CodeExpressionStatement.cs
- LocalIdKeyIdentifierClause.cs
- PeerResolverElement.cs
- CancellationState.cs
- WebPartConnectionsConnectVerb.cs
- SQLBoolean.cs
- TimersDescriptionAttribute.cs
- HotCommands.cs
- SignedInfo.cs