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
- SoapElementAttribute.cs
- Subtree.cs
- TraceListener.cs
- MouseButton.cs
- InputLangChangeEvent.cs
- SelectedCellsChangedEventArgs.cs
- SmiSettersStream.cs
- CancelEventArgs.cs
- SmtpNegotiateAuthenticationModule.cs
- ScrollItemPattern.cs
- TypeGenericEnumerableViewSchema.cs
- RenderingEventArgs.cs
- PropertyDescriptorGridEntry.cs
- ArrayList.cs
- SqlInternalConnectionTds.cs
- _TransmitFileOverlappedAsyncResult.cs
- ReadOnlyMetadataCollection.cs
- VirtualDirectoryMappingCollection.cs
- CounterCreationDataConverter.cs
- XMLUtil.cs
- Table.cs
- Vector3DCollectionValueSerializer.cs
- InstanceLockException.cs
- ErrorTableItemStyle.cs
- IResourceProvider.cs
- SqlNotificationEventArgs.cs
- LassoSelectionBehavior.cs
- WaitHandleCannotBeOpenedException.cs
- TypeConverterAttribute.cs
- GroupItem.cs
- DataGridViewDesigner.cs
- EditorBrowsableAttribute.cs
- x509store.cs
- Identity.cs
- OutputScope.cs
- NativeWrapper.cs
- JavaScriptObjectDeserializer.cs
- TraceHandlerErrorFormatter.cs
- MenuItemBindingCollection.cs
- GridViewUpdateEventArgs.cs
- UndoManager.cs
- ActivationArguments.cs
- PngBitmapDecoder.cs
- SkinBuilder.cs
- WebControl.cs
- WebPartTransformer.cs
- ToolStripPanelRenderEventArgs.cs
- PageTheme.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DesignerCategoryAttribute.cs
- ControlPropertyNameConverter.cs
- ValidatorCollection.cs
- XmlSchemaSimpleContent.cs
- NegatedCellConstant.cs
- Executor.cs
- PaperSource.cs
- OutputCacheProfile.cs
- OleDbConnection.cs
- StructuralCache.cs
- EffectiveValueEntry.cs
- SqlLiftWhereClauses.cs
- HostedTcpTransportManager.cs
- WebPartZone.cs
- SerializationTrace.cs
- LinqDataSourceValidationException.cs
- PenLineCapValidation.cs
- RegexInterpreter.cs
- PrintDialogException.cs
- QilInvokeEarlyBound.cs
- AppendHelper.cs
- Translator.cs
- DataGridViewCellStyleConverter.cs
- CacheDependency.cs
- SplitterEvent.cs
- SingleConverter.cs
- WindowsRichEdit.cs
- TableRowGroup.cs
- SuspendDesigner.cs
- Animatable.cs
- BuildResultCache.cs
- ContentHostHelper.cs
- PageRouteHandler.cs
- Popup.cs
- Propagator.JoinPropagator.cs
- AccessibleObject.cs
- DelegatingConfigHost.cs
- DbCommandTree.cs
- DivideByZeroException.cs
- EntitySet.cs
- FixedTextView.cs
- Misc.cs
- HttpCookiesSection.cs
- DrawingContextWalker.cs
- VectorCollectionValueSerializer.cs
- BitArray.cs
- KeyTimeConverter.cs
- NativeMethods.cs
- TextTreeUndoUnit.cs
- XmlC14NWriter.cs
- AssemblyInfo.cs