Click or drag to resize

LightSetup Class

[Missing <summary> documentation for "T:Fusee.Engine.Core.LightSetup"]

Inheritance Hierarchy
SystemObject
  Fusee.XeneSceneVisitor
    Fusee.XeneViseratorBaseKeyValuePairLightComponent, LightResult
      Fusee.XeneViseratorKeyValuePairLightComponent, LightResult, LightSetupState
        Fusee.Engine.CoreLightSetup

Namespace:  Fusee.Engine.Core
Assembly:  Fusee.Engine.Core (in Fusee.Engine.Core.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class LightSetup : Viserator<KeyValuePair<LightComponent, LightResult>, LightSetupState>

The LightSetup type exposes the following members.

Constructors
  NameDescription
Public methodLightSetup
Initializes a new instance of the LightSetup class
Top
Properties
  NameDescription
Public propertyCurrent
Gets the element in the collection at the current position of the enumerator.
(Inherited from ViseratorBaseTItem.)
Protected propertyCurrentComponent
Returns the currently visited component during a traversal.
(Inherited from SceneVisitor.)
Protected propertyCurrentNode
Returns currently visited node during a traversal.
(Inherited from SceneVisitor.)
Protected propertyYieldEnumeration
Gets a value indicating whether the current enumeration should yield.
(Inherited from SceneVisitor.)
Protected propertyYieldOnCurrentComponent
Can be called in derived visitors. Set this property to true during traversals to make the visitor yield the current component when used as an enumerator.
(Inherited from SceneVisitor.)
Protected propertyYieldOnCurrentNode
Can be called in derived visitors. Set this property to true during traversals to make the visitor yield the current node when used as an enumerator.
(Inherited from SceneVisitor.)
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ViseratorBaseTItem.)
Protected methodEnumInit
Enumerator Building Block to be called in derived Visitors acting as enumerators. Use this to initialize the traversing enumeration on a list of (root) nodes.
(Inherited from SceneVisitor.)
Protected methodEnumMoveNext
This method implements a re-entrant (in terms of yield, not multi-threading) non-recursive traversal over combined node and component trees. Call this method in derived classes implementing enumerators, like in the various find extension methods or the ViseratorTItem, TState
(Inherited from SceneVisitor.)
Protected methodEnumMoveNextNoComponent
Continue a currently active enumeration. Call all registered Visit methods. Visitor methods may set YieldOnCurrentComponent or YieldOnCurrentNode to true to signal the enumration to yield.
(Inherited from SceneVisitor.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInit (Inherited from ViseratorTItem, TState.)
Protected methodInitState (Overrides ViseratorTItem, TStateInitState.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveNext
Advances the enumerator to the next element of the collection.
(Inherited from ViseratorBaseTItem.)
Public methodOnLight
Public methodOnTransform
Protected methodPopState
This method is called when going up one hierarchy level while traversing. Pops the traversal state stack State. Most visitors will simply perform pop on the State and will thus NOT need to override this method. Make sure to call the base implementation in overridden versions.
(Inherited from ViseratorTItem, TState.)
Protected methodPushState
This method is called when going down one hierarchy level while traversing. Pushes the traversal state stack State. Most visitors will simply push the State and will thus NOT need to override this method. Make sure to call the base implementation in overridden versions.
(Inherited from ViseratorTItem, TState.)
Public methodReset
Sets the enumerator to its initial position, which is before the first element in the collection.
(Inherited from ViseratorBaseTItem.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTraverse(SceneNodeContainer)
Start traversing a scene graph starting with the given root node. Performs a recursive depth-first traversal from the speciefiedd root.
(Inherited from SceneVisitor.)
Public methodTraverse(IEnumerableSceneNodeContainer)
Start traversing a list of nodes. Performs a recursive depth-first traversal over the list starting with the first node in the list.
(Inherited from SceneVisitor.)
Public methodViserate (Inherited from ViseratorBaseTItem.)
Protected methodYieldItem
Call this method in visitor methods of derived Viserator classes to signal that an item should be propagated to the traversal's result enumeration.
(Inherited from ViseratorBaseTItem.)
Top
Fields
  NameDescription
Public fieldFoundLightResults
Protected fieldState
The state to keep track of during traversal. You can use your own implementation (as long as it implements IStateStack or use one of the pre-defined implementations. See VisitorState how to implement your own state type.
(Inherited from ViseratorTItem, TState.)
Top
See Also