Click or drag to resize

CharacterStateMapping Class

Class defining a character's unique sprite animation state.
Inheritance Hierarchy
SystemObject
  SpriteMan3DCharacterStateMapping

Namespace:  SpriteMan3D
Assembly:  SpriteMan3D (in SpriteMan3D.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
[SerializableAttribute]
public class CharacterStateMapping : ICloneable

The CharacterStateMapping type exposes the following members.

Constructors
  NameDescription
Public methodCharacterStateMapping
Initializes a new instance of the CharacterStateMapping class
Protected methodCharacterStateMapping(CharacterStateMapping)
Initializes a new instance of the CharacterStateMapping class
Top
Properties
  NameDescription
Public propertyStateNameHash
Gets the hash of the state name as generated by Animator.StringToHash().
Top
Methods
  NameDescription
Public methodClone
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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fielddirections
Sprite mapping for all valid rotation directions.
Public fieldframeCount
The total number of frames in this state.
Public fieldstateName
The state's name.
Top
See Also