Show / Hide Table of Contents

Interface IConstraint

Namespace: UnityEngine.Animations
Assembly: UnityEngine.dll
Syntax
public interface IConstraint

Properties

| Improve this Doc View Source

constraintActive

Declaration
bool constraintActive { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

locked

Declaration
bool locked { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

sourceCount

Declaration
int sourceCount { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

weight

Declaration
float weight { get; set; }
Property Value
Type Description
Single

Methods

| Improve this Doc View Source

AddSource(ConstraintSource)

Declaration
int AddSource(ConstraintSource source)
Parameters
Type Name Description
ConstraintSource source
Returns
Type Description
Int32
| Improve this Doc View Source

GetSource(Int32)

Declaration
ConstraintSource GetSource(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
ConstraintSource
| Improve this Doc View Source

GetSources(List<ConstraintSource>)

Declaration
void GetSources(List<ConstraintSource> sources)
Parameters
Type Name Description
List<ConstraintSource> sources
| Improve this Doc View Source

RemoveSource(Int32)

Declaration
void RemoveSource(int index)
Parameters
Type Name Description
Int32 index
| Improve this Doc View Source

SetSource(Int32, ConstraintSource)

Declaration
void SetSource(int index, ConstraintSource source)
Parameters
Type Name Description
Int32 index
ConstraintSource source
| Improve this Doc View Source

SetSources(List<ConstraintSource>)

Declaration
void SetSources(List<ConstraintSource> sources)
Parameters
Type Name Description
List<ConstraintSource> sources

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX