Interface IConstraint
  
  
  
  
  Assembly: UnityEngine.dll
  Syntax
  
    public interface IConstraint
   
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  constraintActive
  
  
  Declaration
  
    bool constraintActive { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  locked
  
  
  Declaration
  
    bool locked { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  sourceCount
  
  
  Declaration
  
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  weight
  
  
  Declaration
  
    float weight { get; set; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  AddSource(ConstraintSource)
  
  
  Declaration
  
    int AddSource(ConstraintSource source)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetSource(Int32)
  
  
  Declaration
  
    ConstraintSource GetSource(int index)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Int32 | index |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetSources(List<ConstraintSource>)
  
  
  Declaration
  
    void GetSources(List<ConstraintSource> sources)
   
  Parameters
  
  
    |
    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
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  SetSources(List<ConstraintSource>)
  
  
  Declaration
  
    void SetSources(List<ConstraintSource> sources)
   
  Parameters
  
  Extension Methods