Click or drag to resize

TransitionDefinition Class

This is an asset used to create transitions that can be shared across various GameObjects.
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      DustProductions.CoreTransitionDefinition

Namespace:  DustProductions.Core
Assembly:  DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class TransitionDefinition : ScriptableObject

The TransitionDefinition type exposes the following members.

Constructors
  NameDescription
Public methodTransitionDefinition
Initializes a new instance of the TransitionDefinition class
Top
Properties
  NameDescription
Public propertyCustomCurve
Define a custom curve for your animations (check out the Core Quick Reference guide to access plenty of built-in curves)
Public propertyEaseType
The type of mathematic function used for the transition
Public propertyMyTransitionType
The type of transition you want to use. Interpolate for preset options, Custom to define your own curve.
Public propertySecondsForTransition
The amount of time, in seconds, this transition should take.
Top
Methods
  NameDescription
Public methodGetTransitionValue(Single, Single, Single)
Use this to lookup the float between start and end at the seconds passed in, with respect to SecondsForTransition.
Public methodGetTransitionValue(Color, Color, Single)
Use this to lookup the Color between start and end at the seconds passed in, with respect to SecondsForTransition.
Public methodGetTransitionValue(Quaternion, Quaternion, Single)
Use this to lookup the Quaternion between start and end at the seconds passed in, with respect to SecondsForTransition.
Public methodGetTransitionValue(Vector3, Vector3, Single)
Use this to lookup the Vector3 between start and end at the seconds passed in, with respect to SecondsForTransition.
Public methodTryGetMultithreadedTransitionValues
Use the Jobs system to get transition values for items in a NativeArray.
Public methodTryGetMultithreadedTransitionValuesImmediately
Use the Jobs system to get transition values for items in a NativeArray.
Top
Fields
  NameDescription
Public fieldStatic memberDefaultNewObjectName
The default name of this asset
Public fieldStatic memberDefaultPath
The path to the folder to create this asset
Top
See Also