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
- GroupStyle.cs
- WebPartZone.cs
- TCPListener.cs
- CssClassPropertyAttribute.cs
- WebEventTraceProvider.cs
- OrderedDictionary.cs
- HttpRuntime.cs
- recordstatescratchpad.cs
- CompatibleComparer.cs
- LinqDataSourceSelectEventArgs.cs
- XmlNamedNodeMap.cs
- ShaderEffect.cs
- ManagementException.cs
- DbCommandDefinition.cs
- ContractUtils.cs
- KeyTime.cs
- PriorityItem.cs
- SqlUnionizer.cs
- SafeFileHandle.cs
- DataObjectFieldAttribute.cs
- EncodingTable.cs
- ImageCodecInfoPrivate.cs
- XmlUtf8RawTextWriter.cs
- CursorConverter.cs
- SeparatorAutomationPeer.cs
- Vector.cs
- SqlProviderServices.cs
- DynamicDocumentPaginator.cs
- MasterPageBuildProvider.cs
- TraceXPathNavigator.cs
- RecordBuilder.cs
- ExclusiveHandleList.cs
- StickyNoteHelper.cs
- OracleRowUpdatingEventArgs.cs
- XmlDataCollection.cs
- ConcurrentQueue.cs
- TransactedBatchContext.cs
- ChannelServices.cs
- MenuItemAutomationPeer.cs
- ILGen.cs
- ParameterCollection.cs
- WindowInteractionStateTracker.cs
- DBParameter.cs
- SQLInt64Storage.cs
- OdbcConnectionOpen.cs
- Rotation3DAnimation.cs
- VsPropertyGrid.cs
- SqlCharStream.cs
- PolicyException.cs
- AsyncCompletedEventArgs.cs
- OperationParameterInfo.cs
- HttpCachePolicyElement.cs
- DataControlField.cs
- DateTimeParse.cs
- IdentifierCollection.cs
- LayoutSettings.cs
- CapabilitiesSection.cs
- XmlSerializerVersionAttribute.cs
- CodeConditionStatement.cs
- HwndKeyboardInputProvider.cs
- DeviceContext.cs
- Encoding.cs
- SkewTransform.cs
- RowsCopiedEventArgs.cs
- CachedResourceDictionaryExtension.cs
- CollectionChangedEventManager.cs
- SystemIPGlobalProperties.cs
- ImageKeyConverter.cs
- ADConnectionHelper.cs
- ActiveXSerializer.cs
- ClrProviderManifest.cs
- CodeValidator.cs
- TextRenderer.cs
- ResetableIterator.cs
- ProxyWebPartConnectionCollection.cs
- SchemaElementDecl.cs
- CriticalHandle.cs
- DataAdapter.cs
- InputBindingCollection.cs
- AssemblyResourceLoader.cs
- TreeView.cs
- SHA384.cs
- SimpleExpression.cs
- TreeBuilder.cs
- PersonalizationStateInfo.cs
- XmlIlGenerator.cs
- UserPersonalizationStateInfo.cs
- RegexParser.cs
- SqlErrorCollection.cs
- CorrelationHandle.cs
- XsltException.cs
- FlowchartSizeFeature.cs
- SqlCacheDependencyDatabaseCollection.cs
- BinaryCommonClasses.cs
- RectKeyFrameCollection.cs
- WorkflowItemPresenter.cs
- Debug.cs
- SqlDataSourceStatusEventArgs.cs
- RuntimeConfig.cs
- HelpKeywordAttribute.cs