버전

menu_open
Wwise SDK 2024.1.0
ak.wwise.core.blendContainer.addAssignment

Adds a new assignment to a Blend Track. Equivalent to performing a drag-and-drop operation in the Blend Tracks Editor.

Arguments

이름 타입 설명
object * string The ID (GUID) of the Blend Track.
An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
child * any of: The ID (GUID), name, or path of the object to assign. This object must be the child of a Blend Track's Blend Container.
string The name of the object qualified by its type or Short ID in the form of type:name or Global:shortId. Only object types that have globally-unique names or Short Ids are supported. Ex: Event:Play_Sound_01, Global:245489792
string 해당 형식의 오브젝트 GUID: {aabbcc00-1122-3344-5566-77889900aabb}.
string Wwise 오브젝트의 프로젝트 경로로서, 카테고리 및 Work-Unit 포함. 예: \Actor-Mixer Hierarchy\Default Work Unit\New Sound SFX.
index integer The index of the child among the Blend Track's assignments. If a value is provided, it will be clamped to the range [0-n], where n is the current number of assignments. If a value is not provided, then the assignment will be added at the end.
edges array The configuration of the edges of the assignment within the Blend Track. This information is only useful if the Blend Track has a crossfade Game Parameter. If not specified, the edges will be configured using default values. If specified, there must be two edges: 0 = left, 1 = right.
edges [...] object The edge configuration of the Blend Track edge.
Defines the characteristics of Blend Track assignment's edge.
edges[...].fadeMode * string The configuraiton of the edge's crossfade Possible values:
  • None (없음)
  • Manual
  • Automatic
edges[...].fadeShape * string The shape of the edge's crossfade curve Possible values:
  • Constant
  • Linear
  • Log3
  • Log2
  • Log1
  • InvertedSCurve
  • SCurve
  • Exp1
  • Exp2
  • Exp3
edges[...].edgePosition * number The position of the edge. The position must be within the range of the Blend Track's crossfade Game Parameter's range. If this edge is the left edge, then this position must be less or equal edgePosition of the right edge. If this is the right edge then vice versa.
edges[...].fadePosition number The start/end position of the fade curve. The position must be within the range of the Blend Track's crossfade Game Parameter's range. If this edge is the left edge, then this position must be greater or equal this edge's edgePosition, and less or equal the right edge's edgePosition. If this is the right edge then vice versa. This argument is used only if fadeMode is 'Manual'.

(필수 *)

인자 스키마

Result

이름 타입 설명
child string The ID (GUID) the assigned object.
An object GUID of the form: {aabbcc00-1122-3344-5566-77889900aabb}.
index integer The index of the child among the Blend Track's assignments.
edges array The configuration of the edges of the assignment within the Blend Track; 0 = left, 1 = right.
edges [...] object The edge configuration of the Blend Track edge.
Defines the characteristics of Blend Track assignment's edge.
edges[...].fadeMode * string The configuraiton of the edge's crossfade Possible values:
  • None (없음)
  • Manual
  • Automatic
edges[...].fadeShape * string The shape of the edge's crossfade curve Possible values:
  • Constant
  • Linear
  • Log3
  • Log2
  • Log1
  • InvertedSCurve
  • SCurve
  • Exp1
  • Exp2
  • Exp3
edges[...].edgePosition * number The position of the edge. The position must be within the range of the Blend Track's crossfade Game Parameter's range. If this edge is the left edge, then this position must be less or equal edgePosition of the right edge. If this is the right edge then vice versa.
edges[...].fadePosition number The start/end position of the fade curve. The position must be within the range of the Blend Track's crossfade Game Parameter's range. If this edge is the left edge, then this position must be greater or equal this edge's edgePosition, and less or equal the right edge's edgePosition. If this is the right edge then vice versa. This argument is used only if fadeMode is 'Manual'.

결과 스키마

더 보기

예제

Wwise Authoring API에 대한 더 자세한 정보는 Wwise Authoring API (WAAPI, Wwise 저작 API) 사용하기 를 참고하세요.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요