Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SQLCharsStorage.cs
- GenericTypeParameterConverter.cs
- XmlDataLoader.cs
- _OSSOCK.cs
- RenderCapability.cs
- ObjRef.cs
- DeferredSelectedIndexReference.cs
- pingexception.cs
- SiteMapNode.cs
- XmlIncludeAttribute.cs
- SessionStateContainer.cs
- AutomationPropertyInfo.cs
- Compensate.cs
- TTSEngineTypes.cs
- RadioButton.cs
- HtmlImage.cs
- GridViewCancelEditEventArgs.cs
- BackgroundWorker.cs
- ToolboxItem.cs
- OutputCacheProfile.cs
- XsdBuilder.cs
- Control.cs
- SingleTagSectionHandler.cs
- LinqToSqlWrapper.cs
- Message.cs
- ParseChildrenAsPropertiesAttribute.cs
- CellRelation.cs
- ChangeTracker.cs
- ScriptResourceDefinition.cs
- NamespaceMapping.cs
- ProxyWebPartManager.cs
- CodeTypeReferenceExpression.cs
- DistinctQueryOperator.cs
- BitmapMetadataEnumerator.cs
- PartialTrustHelpers.cs
- FontInfo.cs
- XmlWellformedWriter.cs
- TextParagraph.cs
- ClientTarget.cs
- WrappedIUnknown.cs
- DBSchemaTable.cs
- CanExecuteRoutedEventArgs.cs
- ColumnMapVisitor.cs
- QueryProcessor.cs
- FileVersion.cs
- SynchronizedCollection.cs
- SystemGatewayIPAddressInformation.cs
- XmlSignatureProperties.cs
- XmlSerializerVersionAttribute.cs
- WorkflowValidationFailedException.cs
- CqlGenerator.cs
- SqlServer2KCompatibilityCheck.cs
- WebPartChrome.cs
- AutoSizeComboBox.cs
- MouseButtonEventArgs.cs
- ExtentKey.cs
- NumberFormatter.cs
- WebPartActionVerb.cs
- SchemaEntity.cs
- DelegateArgumentValue.cs
- TypeForwardedToAttribute.cs
- WindowsToolbarItemAsMenuItem.cs
- KeyBinding.cs
- MediaElement.cs
- ListParagraph.cs
- ArraySet.cs
- IdleTimeoutMonitor.cs
- ErrorWebPart.cs
- XmlTextReaderImplHelpers.cs
- NavigationPropertySingletonExpression.cs
- BaseTreeIterator.cs
- WmpBitmapDecoder.cs
- FastPropertyAccessor.cs
- QueryOutputWriter.cs
- FieldDescriptor.cs
- CqlLexer.cs
- TemporaryBitmapFile.cs
- Perspective.cs
- EventWaitHandleSecurity.cs
- mediaeventshelper.cs
- WebBrowserSiteBase.cs
- GlobalizationSection.cs
- DataGridViewRowCancelEventArgs.cs
- CqlGenerator.cs
- ServiceAppDomainAssociationProvider.cs
- RecordBuilder.cs
- SafeNativeMemoryHandle.cs
- RequestStatusBarUpdateEventArgs.cs
- DataGridLengthConverter.cs
- WebPartDisplayMode.cs
- OleDbFactory.cs
- XmlSchemaParticle.cs
- OleAutBinder.cs
- Label.cs
- ActivityInfo.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SafeLibraryHandle.cs
- CryptoStream.cs
- WebColorConverter.cs
- SerializableAttribute.cs