UnityEngineAnimationsParentConstraint
API reference for UnityEngineAnimationsParentConstraint.
Properties
| Property | Type | Access |
|---|---|---|
| constraintActive | bool | get, set |
| enabled | bool | get, set |
| gameObject | GameObject | get |
| locked | bool | get, set |
| name | string | get, set |
| rotationAtRest | Vector3 | get, set |
| rotationAxis | UnityEngineAnimationsAxis | get, set |
| rotationOffsets | Vector3[] | get, set |
| sourceCount | int | get |
| transform | Transform | get |
| translationAtRest | Vector3 | get, set |
| translationAxis | UnityEngineAnimationsAxis | get, set |
| translationOffsets | Vector3[] | get, set |
| weight | float | get, set |
Methods
AddSource
AddSource(source: UnityEngineAnimationsConstraintSource) -> intEquals
Equals(other: object) -> boolGetComponent
GetComponent(type: string) -> UnityEngineComponentGetComponent(type: SystemType) -> UnityEngineComponentGetComponent(type: SystemType) -> UnityEngineObjectGetComponentInChildren
GetComponentInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObjectGetComponentInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponentGetComponentInChildren(t: SystemType) -> UnityEngineComponentGetComponentInChildren(type: SystemType) -> UnityEngineObjectGetComponentInParent
GetComponentInParent(includeInactive: bool, type: SystemType) -> UnityEngineObjectGetComponentInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponentGetComponentInParent(t: SystemType) -> UnityEngineComponentGetComponentInParent(type: SystemType) -> UnityEngineObjectGetComponents
GetComponents(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> voidGetComponents(type: SystemType, results: SystemCollectionsGenericList`1[[UnityEngineComponent, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponents(type: SystemType) -> UnityEngineComponent[]GetComponents(type: SystemType) -> UnityEngineObject[]GetComponentsInChildren
GetComponentsInChildren(results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]], type: SystemType) -> voidGetComponentsInChildren(includeInactive: bool, result: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponentsInChildren(includeInactive: bool, type: SystemType) -> UnityEngineObject[]GetComponentsInChildren(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]GetComponentsInChildren(t: SystemType) -> UnityEngineComponent[]GetComponentsInChildren(type: SystemType) -> UnityEngineObject[]GetComponentsInParent
GetComponentsInParent(includeInactive: bool, results: SystemCollectionsGenericList`1[[UnityEngineObject, UnityEngineCoreModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetComponentsInParent(includeInactive: bool, type: SystemType) -> UnityEngineObject[]GetComponentsInParent(t: SystemType, includeInactive: bool) -> UnityEngineComponent[]GetComponentsInParent(t: SystemType) -> UnityEngineComponent[]GetComponentsInParent(type: SystemType) -> UnityEngineObject[]GetHashCode
GetHashCode() -> intGetInstanceID
GetInstanceID() -> intGetRotationOffset
GetRotationOffset(index: int) -> Vector3GetSource
GetSource(index: int) -> UnityEngineAnimationsConstraintSourceGetSources
GetSources(sources: SystemCollectionsGenericList`1[[UnityEngineAnimationsConstraintSource, UnityEngineAnimationModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidGetTranslationOffset
GetTranslationOffset(index: int) -> Vector3GetType
GetType() -> SystemTypeRemoveSource
RemoveSource(index: int) -> voidSetRotationOffset
SetRotationOffset(index: int, value: Vector3) -> voidSetSource
SetSource(index: int, source: UnityEngineAnimationsConstraintSource) -> voidSetSources
SetSources(sources: SystemCollectionsGenericList`1[[UnityEngineAnimationsConstraintSource, UnityEngineAnimationModule, Version=0000, Culture=neutral, PublicKeyToken=null]]) -> voidSetTranslationOffset
SetTranslationOffset(index: int, value: Vector3) -> voidToString
ToString() -> string