Class RuntimeRigConstraint<TJob, TData, TBinder>
Inheritance
System.Object
RuntimeRigConstraint<TJob, TData, TBinder>
Syntax
public class RuntimeRigConstraint<TJob, TData, TBinder> : MonoBehaviour, IRigConstraint where TJob : struct, IAnimationJob where TData : struct, IAnimationJobData where TBinder : AnimationJobBinder<TJob, TData>, new ()
Type Parameters
Name |
Description |
TJob |
|
TData |
|
TBinder |
|
Fields
m_Data
Declaration
Field Value
m_Weight
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
data
Declaration
public TData data { get; }
Property Value
weight
Declaration
public float weight { get; set; }
Property Value
Type |
Description |
System.Single |
|
Implements
Methods
CreateJob(Animator)
Declaration
public IAnimationJob CreateJob(Animator animator)
Parameters
Type |
Name |
Description |
Animator |
animator |
|
Returns
Type |
Description |
IAnimationJob |
|
Implements
DestroyJob(IAnimationJob)
Declaration
public void DestroyJob(IAnimationJob job)
Parameters
Type |
Name |
Description |
IAnimationJob |
job |
|
Implements
IsValid()
Declaration
Returns
Type |
Description |
System.Boolean |
|
Implements
Reset()
Declaration
UpdateJob(IAnimationJob)
Declaration
public void UpdateJob(IAnimationJob job)
Parameters
Type |
Name |
Description |
IAnimationJob |
job |
|
Implements
Explicit Interface Implementations
IRigConstraint.binder
Declaration
IAnimationJobBinder IRigConstraint.binder { get; }
Returns
Implements
IRigConstraint.data
Declaration
IAnimationJobData IRigConstraint.data { get; }
Returns
Implements