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
- RelatedEnd.cs
- IntranetCredentialPolicy.cs
- RemotingConfiguration.cs
- ErrorInfoXmlDocument.cs
- KnownBoxes.cs
- OleAutBinder.cs
- DataServiceRequest.cs
- StylusButton.cs
- PartialTrustVisibleAssembliesSection.cs
- CopyNamespacesAction.cs
- PiiTraceSource.cs
- ShimAsPublicXamlType.cs
- ReadOnlyDictionary.cs
- FileReader.cs
- TagMapCollection.cs
- Console.cs
- DispatcherTimer.cs
- DiscoveryClientProtocol.cs
- XpsFont.cs
- ConnectionStringsExpressionBuilder.cs
- PipelineModuleStepContainer.cs
- EntryPointNotFoundException.cs
- FontEditor.cs
- CellParaClient.cs
- CacheEntry.cs
- Activator.cs
- SqlClientWrapperSmiStream.cs
- EventProviderWriter.cs
- PropertyInfo.cs
- NativeMethods.cs
- TextRangeEditTables.cs
- SelectedGridItemChangedEvent.cs
- Pts.cs
- ObjectDisposedException.cs
- ControlParameter.cs
- validation.cs
- Attributes.cs
- SqlUserDefinedAggregateAttribute.cs
- ProviderSettingsCollection.cs
- DefaultObjectSerializer.cs
- RoleGroupCollection.cs
- RijndaelManaged.cs
- WhitespaceRule.cs
- EdmTypeAttribute.cs
- InvokeGenerator.cs
- CharEntityEncoderFallback.cs
- ColumnHeaderConverter.cs
- StylusEventArgs.cs
- SqlClientMetaDataCollectionNames.cs
- Base64Encoder.cs
- ExitEventArgs.cs
- MatrixTransform.cs
- SiteMapNodeItem.cs
- FillErrorEventArgs.cs
- TileBrush.cs
- ArrayElementGridEntry.cs
- wgx_render.cs
- MappingItemCollection.cs
- CheckBox.cs
- PropertyDescriptorGridEntry.cs
- DrawListViewItemEventArgs.cs
- CancellationToken.cs
- SinglePhaseEnlistment.cs
- ConnectionPoint.cs
- AdapterDictionary.cs
- VarRefManager.cs
- ElementMarkupObject.cs
- TokenBasedSetEnumerator.cs
- MSHTMLHostUtil.cs
- SecUtil.cs
- ImageCodecInfo.cs
- ArgumentNullException.cs
- EventSourceCreationData.cs
- SqlRewriteScalarSubqueries.cs
- DropDownList.cs
- FileSystemEventArgs.cs
- MobileControl.cs
- ValidateNames.cs
- HtmlControlPersistable.cs
- TextPattern.cs
- ReadOnlyTernaryTree.cs
- XPathDescendantIterator.cs
- ArrayElementGridEntry.cs
- AtomContentProperty.cs
- Int64AnimationUsingKeyFrames.cs
- DataSet.cs
- SchemaManager.cs
- AccessDataSource.cs
- DesignTimeParseData.cs
- LinqDataSourceStatusEventArgs.cs
- RootBuilder.cs
- HotCommands.cs
- FileStream.cs
- UnauthorizedAccessException.cs
- SQLMoney.cs
- CommandValueSerializer.cs
- HttpCacheVary.cs
- ClientBuildManagerCallback.cs
- SqlConnectionString.cs
- DigestTraceRecordHelper.cs