Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / PointLight.cs / 1305600 / PointLight.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D positional light implementation. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/25/2003 : t-gregr - 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
- DbSetClause.cs
- SyndicationElementExtensionCollection.cs
- DataGridViewComboBoxCell.cs
- TcpTransportSecurity.cs
- Delegate.cs
- activationcontext.cs
- TreeNodeBindingCollection.cs
- TextBox.cs
- XmlWhitespace.cs
- DataGridTableCollection.cs
- AtomServiceDocumentSerializer.cs
- Image.cs
- EventItfInfo.cs
- LoadedOrUnloadedOperation.cs
- _KerberosClient.cs
- JulianCalendar.cs
- DataServiceOperationContext.cs
- PropertyItem.cs
- MenuItemBinding.cs
- FilteredAttributeCollection.cs
- SqlDependency.cs
- NodeLabelEditEvent.cs
- ExtendedPropertyCollection.cs
- DebugView.cs
- IndentedTextWriter.cs
- Util.cs
- DbMetaDataCollectionNames.cs
- IApplicationTrustManager.cs
- HealthMonitoringSection.cs
- AudioFileOut.cs
- DelegateCompletionCallbackWrapper.cs
- SoapEnumAttribute.cs
- TextCompositionEventArgs.cs
- DbBuffer.cs
- DbTransaction.cs
- VisualBrush.cs
- SimpleExpression.cs
- JsonUriDataContract.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- OrderedDictionary.cs
- QuadraticBezierSegment.cs
- DeflateStream.cs
- DataGridViewCellStyleConverter.cs
- DocumentViewerHelper.cs
- RegexCompilationInfo.cs
- EntitySqlQueryCacheKey.cs
- ComponentChangingEvent.cs
- SqlTypesSchemaImporter.cs
- CollaborationHelperFunctions.cs
- GeneratedCodeAttribute.cs
- PropertyItem.cs
- OleDbPermission.cs
- ParserExtension.cs
- OperationCanceledException.cs
- WsatRegistrationHeader.cs
- ProcessModelInfo.cs
- BitmapSource.cs
- CharacterBufferReference.cs
- RankException.cs
- EventlogProvider.cs
- MessageAction.cs
- AppSettingsExpressionBuilder.cs
- MobileResource.cs
- RC2.cs
- ExpressionVisitorHelpers.cs
- TemplateComponentConnector.cs
- ToolZone.cs
- MetadataCache.cs
- FileChangesMonitor.cs
- BindingRestrictions.cs
- Switch.cs
- PropertyEmitterBase.cs
- CheckBoxBaseAdapter.cs
- IsolatedStorageFile.cs
- AtomServiceDocumentSerializer.cs
- DesignerDeviceConfig.cs
- SecurityTokenAuthenticator.cs
- FreezableDefaultValueFactory.cs
- DataTableExtensions.cs
- XPathSelfQuery.cs
- ModuleBuilderData.cs
- metadatamappinghashervisitor.cs
- StaticContext.cs
- RolePrincipal.cs
- PathNode.cs
- ReachVisualSerializerAsync.cs
- TimeSpanStorage.cs
- SqlDataSourceQueryEditorForm.cs
- DetailsViewUpdatedEventArgs.cs
- Calendar.cs
- AccessedThroughPropertyAttribute.cs
- ResetableIterator.cs
- ValueOfAction.cs
- NativeMethods.cs
- SmtpReplyReader.cs
- XPathPatternParser.cs
- PageContentAsyncResult.cs
- UserPersonalizationStateInfo.cs
- DbMetaDataFactory.cs
- DataSourceCacheDurationConverter.cs