COLLADA Specification2010. 10. 13. 03:30

 

 instance_animation
  •  COLLADA 애니메이션 자원의 구체적인 instance
  • Concepts

    • <instance_animation>엘리먼트는 <animation>엘리먼트에서 묘사 된 구체화된 오브젝트다. 다수의 <instance_animation> 엘리먼트들은 함께 <animation_clip>엘리먼트속의 애니메이션 클립을 만든다.
    • COLLADA 엘리먼트의 인스턴스 details에서, “Instantiation and External Referencing”을 보라. (Ch3. : Schema Concepts)
  • Attributes

    • sid   -   (sid_type)   -   이 엘리먼트의  식별 범위를 포함하는 스트링 값. 이 값은 반디스 unique 해야 한다. (parent element scope에서)
    • name   -   (xs:token)   -   엘리먼트의 이름 텍스트이다.
    • url   -   (xs:anyURI)   -   instance를 만들 <animation> 엘리먼트 지역의 URL이다. 지역 인스턴스나 외부 레퍼런스를 참조할 수 있다. 지역 인스턴스일 경우, 이 관련 URI fragment는 #으로 시작되는 식별자를 가진다. 식별자는 XPointer 숏핸드 포인터로 인스턴스 엘리먼트의 ID로 이루어져 있다. 외부 레퍼런스일 경우, 이 것은 절대적 혹은 relativ URL이 된다.
  • Related Elements

    • Parent elements   -   animation_clip
    • Child elements   -   아래 참조
    • Other   -   animation
  • Child Elements

    • <extra>   -   (Description) <animation>엘리먼트에 관련된 변덕스럽게 더해지는 정보들을 제공 한다. See main entry.   -   (Default) N/A   -   (Occurrences) 0 or more
  • Example

    1.  

      Here is an example of an <instance_animation> element that refers to a locally defined

      <animation> element identified by the ID “anim”. The instance is translated some distance from the

      original:

      <library_animations>

      <animation id="anim"/>

      </library_animations>

      <library_animation_clips>

      <animation_clip start="1.0" end="5.0"/>

      <instance_animation url="#anim"/>

      </animation_clip>

      </library_animation_clips>

 

이 글은 스프링노트에서 작성되었습니다.

Posted by BLUE-NOTE