Show / Hide Table of Contents

Class LookAtConstraint

Inheritance
Object
Object
Component
Behaviour
LookAtConstraint
Implements
IConstraint
Inherited Members
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.transform
Component.gameObject
Component.GetComponent(Type)
Component.GetComponent<T>()
Component.GetComponent(String)
Component.GetComponentInChildren(Type, Boolean)
Component.GetComponentInChildren(Type)
Component.GetComponentInChildren<T>(Boolean)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren(Type, Boolean)
Component.GetComponentsInChildren(Type)
Component.GetComponentsInChildren<T>(Boolean)
Component.GetComponentsInChildren<T>(Boolean, List<T>)
Component.GetComponentsInChildren<T>()
Component.GetComponentsInChildren<T>(List<T>)
Component.GetComponentInParent(Type)
Component.GetComponentInParent<T>()
Component.GetComponentsInParent(Type, Boolean)
Component.GetComponentsInParent(Type)
Component.GetComponentsInParent<T>(Boolean)
Component.GetComponentsInParent<T>(Boolean, List<T>)
Component.GetComponentsInParent<T>()
Component.GetComponents(Type)
Component.GetComponents(Type, List<Component>)
Component.GetComponents<T>(List<T>)
Component.tag
Component.GetComponents<T>()
Component.CompareTag(String)
Component.SendMessageUpwards(String, Object, SendMessageOptions)
Component.SendMessageUpwards(String, Object)
Component.SendMessageUpwards(String)
Component.SendMessageUpwards(String, SendMessageOptions)
Component.SendMessage(String, Object)
Component.SendMessage(String)
Component.SendMessage(String, Object, SendMessageOptions)
Component.SendMessage(String, SendMessageOptions)
Component.BroadcastMessage(String, Object, SendMessageOptions)
Component.BroadcastMessage(String, Object)
Component.BroadcastMessage(String)
Component.BroadcastMessage(String, SendMessageOptions)
Object.GetInstanceID()
Object.GetHashCode()
Object.Equals(Object)
Object.name
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate(Object, Transform, Boolean)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Instantiate<T>(T, Transform, Boolean)
Object.Destroy(Object, Single)
Object.Destroy(Object)
Object.DestroyImmediate(Object, Boolean)
Object.DestroyImmediate(Object)
Object.FindObjectsOfType(Type)
Object.DontDestroyOnLoad(Object)
Object.hideFlags
Object.DestroyObject(Object, Single)
Object.DestroyObject(Object)
Object.FindSceneObjectsOfType(Type)
Object.FindObjectsOfTypeIncludingAssets(Type)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.FindObjectsOfTypeAll(Type)
Object.FindObjectOfType(Type)
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.Animations
Assembly: UnityEngine.dll
Syntax
[RequireComponent(typeof(Transform))]
public sealed class LookAtConstraint : Behaviour, IConstraint, IConstraintInternal

Properties

constraintActive

Declaration
public bool constraintActive { get; set; }
Property Value
Type Description
Boolean

locked

Declaration
public bool locked { get; set; }
Property Value
Type Description
Boolean

roll

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

rotationAtRest

Declaration
public Vector3 rotationAtRest { get; set; }
Property Value
Type Description
Vector3

rotationOffset

Declaration
public Vector3 rotationOffset { get; set; }
Property Value
Type Description
Vector3
| Improve this Doc View Source

sourceCount

Declaration
public int sourceCount { get; }
Property Value
Type Description
Int32

useUpObject

Declaration
public bool useUpObject { get; set; }
Property Value
Type Description
Boolean

weight

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

worldUpObject

Declaration
public Transform worldUpObject { get; set; }
Property Value
Type Description
Transform

Methods

AddSource(ConstraintSource)

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

GetSource(Int32)

Declaration
public ConstraintSource GetSource(int index)
Parameters
Type Name Description
Int32 index
Returns
Type Description
ConstraintSource

GetSources(List<ConstraintSource>)

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

RemoveSource(Int32)

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

SetSource(Int32, ConstraintSource)

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

SetSources(List<ConstraintSource>)

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

Implements

IConstraint

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