Click or drag to resize

SpriteManagerState Class

SpriteManagerState scriptable object can be saved to disk and loaded at runtime.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      SpriteMan3D.TemplatesSpriteManagerState

Namespace:  SpriteMan3D.Templates
Assembly:  SpriteMan3D (in SpriteMan3D.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public class SpriteManagerState : ScriptableObject, 
	ISpriteManagerState, ICloneable

The SpriteManagerState type exposes the following members.

Constructors
  NameDescription
Public methodSpriteManagerState
Initializes a new instance of the SpriteManagerState class
Top
Properties
  NameDescription
Public propertyBillboard
ISpriteManagerState.Billboard property for billboard field
Public propertyDirectionMode
ISpriteManagerState.DirectionMode property for directionMode field
Public propertyhideFlags (Inherited from Object.)
Public propertyname (Inherited from Object.)
Public propertyReflectEastToWest
ISpriteManagerState.ReflectEastToWest property for reflectEastToWest field
Public propertyStateMapping
ISpriteManagerState.StateMapping property for stateMapping field
Top
Methods
  NameDescription
Public methodClone
Deep clones this SpriteManagerState
Public methodEquals (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 (Inherited from Object.)
Public methodGetInstanceID (Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReplaceSprites
Replaces all sprites in this SpriteManState with a given list of sprites, matched by name, or null if no match exists.
Public methodSetDirty Obsolete. (Inherited from ScriptableObject.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldbillboard
Whether to billboard a sprite.
Public fielddirectionMode
The direction mode of a SpriteManager.
Public fieldreflectEastToWest
Whether to reflect east to west.
Public fieldstateMapping
All state mappings of a SpriteManager.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyFrom
Copies from a source ISpriteManagerState to a target ISpriteManagerState.
(Defined by SpriteManagerStateExtensions.)
Public Extension MethodReplaceSprites
Replaces sprites in a given state with those in a sprite array matched by name or null if not found.
(Defined by SpriteManagerStateExtensions.)
Top
See Also