BindPoint

BindPoint class

BindPoint는 일반적으로 객체의 속성에 생성되며, 일부 속성 유형은 여러 구성 요소 필드(예: Vector3 필드)를 포함합니다. BindPoint는 각 구성 요소 필드에 대해 채널을 생성하고, 해당 필드를 하나 이상의 키프레임 시퀀스 인스턴스와 채널을 통해 연결합니다.

메서드

constructor

이름설명
constructor(scene, prop)BindPoint 클래스의 새 인스턴스를 초기화합니다.

Parameters:

이름유형설명
sceneScene애니메이션을 포함하는 씬입니다.
prop속성속성.

Result:


getProperty

이름설명
getProperty()CurveMapping과 연결된 속성을 가져옵니다

Result:


setProperty

이름설명
setProperty(value)CurveMapping과 연결된 속성을 가져옵니다

Result:


getChannelsCount

이름설명
getChannelsCount()이 애니메이션 커브 매핑에 정의된 속성 채널의 총 개수를 가져옵니다.

Result: 숫자


getName

이름설명
getName()이름을 가져오거나 설정합니다. 이름.

Result: 숫자


setName

이름설명
setName(value)이름을 가져오거나 설정합니다. 이름.

Result: 숫자


getProperties

이름설명
getProperties()모든 속성의 컬렉션을 가져옵니다.

Result: 숫자


get

이름설명
get(channelName)

Result: 숫자


getKeyframeSequence

이름설명
getKeyframeSequence(channelName)지정된 채널에서 첫 번째 키프레임 시퀀스를 가져옵니다.

Parameters:

이름유형설명
channelNameString찾을 채널 이름

Result: KeyframeSequence


getKeyframeSequences

이름설명
getKeyframeSequences(channelName)지정된 채널의 모든 키프레임 시퀀스를 가져옵니다.

Parameters:

이름유형설명
channelNameString찾을 채널 이름

Result: 0, Culture=neutral, PublicKeyToken=f071c641d0b4582b]]


createKeyframeSequence

이름설명
createKeyframeSequence(name)새 곡선을 생성하고 곡선 매핑의 첫 번째 채널에 연결합니다.

Parameters:

이름유형설명
nameString새 시퀀스의 이름입니다.

Result: KeyframeSequence


bindKeyframeSequence

이름설명
bindKeyframeSequence(channelName, sequence)키프레임 시퀀스를 지정된 채널에 바인드합니다.

Parameters:

이름유형설명
channelNameString키프레임 시퀀스가 바인드될 채널
sequenceKeyframeSequence바인드할 키프레임 시퀀스

Result: KeyframeSequence


getChannel

이름설명
getChannel(channelName)주어진 이름으로 채널을 가져옵니다.

Parameters:

이름유형설명
channelNameString찾을 채널 이름

Result: AnimationChannel


addChannel

이름설명
addChannel(name, value)지정된 채널 속성을 추가합니다.

Parameters:

이름유형설명
nameString이름.
valueObject값.

Result: boolean


addChannel

이름설명
addChannel(name, type, value)지정된 채널 속성을 추가합니다.

Parameters:

이름유형설명
nameString이름.
type클래스유형.
valueObject값.

Result: boolean


resetChannels

이름설명
resetChannels()이 애니메이션 곡선 매핑의 속성 채널을 비웁니다.

Result: boolean


toString

이름설명
toString()객체를 문자열로 포맷합니다.

Result: String


removeProperty

이름설명
removeProperty(property)동적 속성을 제거합니다.

Parameters:

이름유형설명
속성속성제거할 속성은 무엇입니까

Result: boolean


removeProperty

이름설명
removeProperty(property)이름으로 식별된 지정된 속성을 제거합니다.

Parameters:

이름유형설명
propertStringnull

Result: boolean


getProperty

이름설명
getProperty(property)지정된 속성의 값을 가져옵니다

Parameters:

이름유형설명
속성String속성 이름

Result: Object


setProperty

이름설명
setProperty(property, value)지정된 속성의 값을 설정합니다

Parameters:

이름유형설명
속성String속성 이름
valueObject속성의 값

Result: Object


findProperty

이름설명
findProperty(propertyName)속성을 찾습니다. 동적 속성 (Created by CreateDynamicProperty/SetProperty) 또는 네이티브 속성(Identified by its name) 일 수 있습니다

Parameters:

이름유형설명
propertyNameString속성 이름.

Result: 속성