Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media3D / Light.cs / 1305600 / Light.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: 3D light implementation. // // See spec at http://avalon/medialayer/Specifications/Avalon3D%20API%20Spec.mht // // History: // 06/18/2003 : t-gregr - Created // //--------------------------------------------------------------------------- using System; using System.Diagnostics; using System.Windows.Media; using MS.Internal.Media3D; namespace System.Windows.Media.Media3D { ////// Lights are Model3D's. These include Ambient, Positional, Directional and Spot lights. /// They're very much modeled on the Direct3D lighting set, but have the additional /// property of being part of a modeling hierarchy, and are thus subject to coordinate /// space transformations. /// public abstract partial class Light : Model3D { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors // Prevent 3rd parties from extending this abstract base class. internal Light() {} #endregion Constructors //------------------------------------------------------ // // Public Methods // //----------------------------------------------------- //------------------------------------------------------ // // Public Properties // //------------------------------------------------------ #region Public Properties internal override void RayHitTestCore(RayHitTestParameters rayParams) { // Lights are considered to be part of the model graph, but they // have no geometry and therefore can not be hit tested. } internal override Rect3D CalculateSubgraphBoundsInnerSpace() { // Lights are considered to be part of the model graph, but they // have no geometry and therefore no bounds. return Rect3D.Empty; } #endregion Public Properties } } // 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
- ContextMenu.cs
- ControlCachePolicy.cs
- WorkflowApplication.cs
- IChannel.cs
- ExtenderHelpers.cs
- Pair.cs
- RemoteWebConfigurationHost.cs
- CodeDomSerializationProvider.cs
- ZoneLinkButton.cs
- RadioButtonFlatAdapter.cs
- SpeechEvent.cs
- FreezableOperations.cs
- CachedBitmap.cs
- ConfigXmlComment.cs
- SharedStream.cs
- SqlExpressionNullability.cs
- ProtocolElementCollection.cs
- WebColorConverter.cs
- ServerIdentity.cs
- AnnotationMap.cs
- WebHeaderCollection.cs
- StateItem.cs
- DataPagerFieldItem.cs
- Int32KeyFrameCollection.cs
- NetworkCredential.cs
- Pool.cs
- EnumUnknown.cs
- TheQuery.cs
- linebase.cs
- XmlIlGenerator.cs
- QilUnary.cs
- SafeHandles.cs
- CustomTokenProvider.cs
- TextEditorSpelling.cs
- CustomSignedXml.cs
- HandlerWithFactory.cs
- DrawingContextWalker.cs
- FormViewRow.cs
- ProviderBase.cs
- EpmSourceTree.cs
- Page.cs
- sortedlist.cs
- HttpStreams.cs
- OverflowException.cs
- List.cs
- BasePropertyDescriptor.cs
- WindowsFormsEditorServiceHelper.cs
- Update.cs
- SQLMoneyStorage.cs
- WorkflowInstanceContextProvider.cs
- SQLMembershipProvider.cs
- SiteMapPath.cs
- SrgsGrammarCompiler.cs
- IntegerFacetDescriptionElement.cs
- SafeFreeMibTable.cs
- DetailsViewCommandEventArgs.cs
- ProfilePropertySettingsCollection.cs
- HScrollBar.cs
- OLEDB_Enum.cs
- MethodMessage.cs
- NumericExpr.cs
- ConfigViewGenerator.cs
- _SslSessionsCache.cs
- ListViewItem.cs
- KnownAssemblyEntry.cs
- SimpleApplicationHost.cs
- TableCellCollection.cs
- WsdlBuildProvider.cs
- SuppressMergeCheckAttribute.cs
- WebPartEditVerb.cs
- XsltSettings.cs
- TextEditorLists.cs
- HttpRequestCacheValidator.cs
- ApplicationServiceHelper.cs
- SoapAttributeAttribute.cs
- ConfigXmlWhitespace.cs
- IItemContainerGenerator.cs
- DataView.cs
- RegexWorker.cs
- CompositeCollection.cs
- SqlConnectionPoolProviderInfo.cs
- SqlReorderer.cs
- DesignTable.cs
- ComplexTypeEmitter.cs
- SHA384Managed.cs
- BufferedWebEventProvider.cs
- ProcessManager.cs
- XmlConvert.cs
- ResourcesBuildProvider.cs
- SqlTriggerAttribute.cs
- TypeUsageBuilder.cs
- StatusBarPanel.cs
- QuaternionRotation3D.cs
- BitmapEffect.cs
- ConfigurationManagerInternalFactory.cs
- GlyphTypeface.cs
- DbProviderFactories.cs
- DecoratedNameAttribute.cs
- SqlResolver.cs
- SafeNativeMethods.cs