Summary
    A component which manages a screen-facing billboard and plays animations from a
    
		Animancer.DirectionalAnimationSet to make it look like a UnityEngine.Sprite
    based character is facing a particular direction in 3D space.
    - Assembly
- Animancer.dll 
- Namespace
- Animancer
- Base Types
- 
									- MonoBehaviour
 
- Derived Types
							graph BT
	Type-->Base0["MonoBehaviour"]
	Type["DirectionalAnimations3D<TGroup>"]
class Type type-node
	Derived0["DirectionalAnimations3D"]-->Type
	click Derived0 "/animancer-v7-4/api/Animancer/DirectionalAnimations3D"
						
					Syntax
[AnimancerHelpUrl(typeof(DirectionalAnimations3D<>))]
public class DirectionalAnimations3D<TGroup> : MonoBehaviourRemarks
    Example:
    
    Directional Animations in 3D
    
	Attributes
| Type | Description | 
|---|---|
| Animancer | [Assert-Conditional]
    A UnityEngine.HelpURLAttributewhich points to Animancer's documentation. | 
Type Parameters
| Name | Description | 
|---|---|
| TGroup | 
Fields
| Name | Constant Value | Summary | 
|---|---|---|
| TimeSynchronizer | 
    Maintains the  Animancer.AnimancerState.NormalizedTimewhen swapping between animations. | 
Properties
| Name | Value | Summary | 
|---|---|---|
| Animancer | AnimancerComponent | [ UnityEngine.SerializeField]
    TheAnimancer.AnimancerComponentto play animations on. | 
| Animations | Directional | [ UnityEngine.SerializeField]
    The animations to choose between based on theAnimancer.DirectionalAnimations3D`1.Forwarddirection. | 
| Camera | Transform | [ UnityEngine.SerializeField]
    TheUnityEngine.Camerato make theAnimancer.DirectionalAnimations3D`1.Transformface towards. | 
| Forward | Vector3 | [ UnityEngine.SerializeField]
    The World-Space direction this character is facing used to select which animation to play. | 
| Mode | Directional | [ UnityEngine.SerializeField]
    The function used to face theAnimancer.DirectionalAnimations3D`1.Transformtowards theAnimancer.DirectionalAnimations3D`1.Camera. | 
| Transform | Transform | [ UnityEngine.SerializeField]
    The object to rotate according to theAnimancer.DirectionalAnimations3D`1.Mode. | 
Methods
| Name | Value | Summary | 
|---|---|---|
| OnDrawGizmosSelected | void | 
    Finds missing references,
    samples the current animation,
    and resets the scale to 1 if not using a stretched mode.
     | 
| OnValidate | void | 
    Finds missing references,
    samples the current animation,
    and resets the scale to 1 if not using a stretched mode.
     | 
| PlayCurrentAnimation | void | 
    Plays the appropriate animation based on the current rotation and  Animancer.DirectionalAnimations3D`1.Forwarddirection. | 
| SetAnimations | void | 
    Sets the  Animancer.DirectionalAnimations3D`1.Animationsand plays the appropriate animation
    based on the current rotation andAnimancer.DirectionalAnimations3D`1.Forwarddirection. | 
| Update | void | 
    Applies the  Animancer.DirectionalAnimations3D`1.Modethen plays the appropriate animation
    based on the current rotation andAnimancer.DirectionalAnimations3D`1.Forwarddirection. | 
| UpdateTransform | void | Applies the  Animancer.DirectionalAnimations3D`1.Mode. |