기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


TryGetAnimationCurve(string, string, out AnimationCurve)

Retrieves the AnimationCurve for an animated camera property in a specific AnimationClip.
읽는 시간 1분최근 업데이트: 23일 전

Definition

TryGetAnimationCurve(string, string, AnimationCurve)

public bool TryGetAnimationCurve(string clipName, string propertyName, out AnimationCurve value)

Parameters

clipName

The name of the AnimationClip.

propertyName

The name of the camera property.

The retrieved AnimationCurve, if one exists for the specified camera property.

Returns

Type

Description

boolReturns true if the camera property is animated. Returns false otherwise.