Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media3D / PointLight.cs / 1 / 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. //---------------------------------------------------------------------------- // //// 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
- RunClient.cs
- Authorization.cs
- TouchDevice.cs
- PenLineJoinValidation.cs
- RawStylusInputCustomData.cs
- Intellisense.cs
- TogglePattern.cs
- WindowPatternIdentifiers.cs
- BitmapSourceSafeMILHandle.cs
- SubqueryRules.cs
- Base64Stream.cs
- FilteredSchemaElementLookUpTable.cs
- FontFamily.cs
- SequentialOutput.cs
- AppDomainAttributes.cs
- ClientBuildManager.cs
- SecurityElementBase.cs
- MailDefinitionBodyFileNameEditor.cs
- PerfCounters.cs
- SynthesizerStateChangedEventArgs.cs
- handlecollector.cs
- EnlistmentState.cs
- PartialTrustVisibleAssembliesSection.cs
- DbDataReader.cs
- Control.cs
- DataStreams.cs
- SHA512Managed.cs
- BadImageFormatException.cs
- ItemList.cs
- TextTreeText.cs
- CachingHintValidation.cs
- DoubleIndependentAnimationStorage.cs
- WebControlAdapter.cs
- DesignTable.cs
- ToolStripOverflowButton.cs
- EditingCommands.cs
- LeafCellTreeNode.cs
- PersianCalendar.cs
- rsa.cs
- Vector3DConverter.cs
- Rotation3DKeyFrameCollection.cs
- XmlSchemaFacet.cs
- EventHandlerService.cs
- AccessDataSource.cs
- BaseProcessProtocolHandler.cs
- TextServicesProperty.cs
- RedBlackList.cs
- webeventbuffer.cs
- DbMetaDataColumnNames.cs
- HuffmanTree.cs
- QueryResponse.cs
- CharacterMetricsDictionary.cs
- Rule.cs
- OletxResourceManager.cs
- StringUtil.cs
- BinaryObjectWriter.cs
- TypedDataSourceCodeGenerator.cs
- DecoderBestFitFallback.cs
- InvalidDataContractException.cs
- Rotation3DKeyFrameCollection.cs
- XhtmlCssHandler.cs
- UnauthorizedWebPart.cs
- SelectionWordBreaker.cs
- EmbeddedMailObjectCollectionEditor.cs
- WorkflowInstanceExtensionManager.cs
- EndOfStreamException.cs
- UIHelper.cs
- ConnectionManagementSection.cs
- ExpandableObjectConverter.cs
- AssemblyAttributes.cs
- regiisutil.cs
- SecUtil.cs
- ParamArrayAttribute.cs
- HttpSessionStateBase.cs
- CodeSnippetStatement.cs
- assertwrapper.cs
- Deserializer.cs
- DataTableCollection.cs
- TextTrailingCharacterEllipsis.cs
- TimeoutConverter.cs
- SerializationSectionGroup.cs
- HeaderCollection.cs
- MenuItemStyleCollection.cs
- elementinformation.cs
- QilFunction.cs
- CompletionCallbackWrapper.cs
- WebPartConnectionCollection.cs
- HTTPNotFoundHandler.cs
- SystemDiagnosticsSection.cs
- TextPointer.cs
- ConstraintConverter.cs
- _ListenerAsyncResult.cs
- BamlLocalizabilityResolver.cs
- X509RawDataKeyIdentifierClause.cs
- FormClosedEvent.cs
- XmlUnspecifiedAttribute.cs
- SettingsAttributeDictionary.cs
- VirtualizedCellInfoCollection.cs
- AffineTransform3D.cs
- Int16AnimationBase.cs