Extra entity instances FCOLLADA extension: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Glaforte (talk | contribs)
Created page.
 
Glaforte (talk | contribs)
Added the support of the url attribute.
Line 9: Line 9:
* [[Particle forces FCOLLADA extension]]
* [[Particle forces FCOLLADA extension]]


As with normal instances, the ''url'' attribute is used to identify the instanced entity.


{| border=1 cellspacing=0 cellpadding=3 align=center
{| border=1 cellspacing=0 cellpadding=3 align=center
|-
|-
!width=20%| Element !! Description  
!width=20%| Element !! Attributes supported !! Description  
|-
|-
| <instance_emitter> || Contains the complex <instance_emitter> entity type. See [[Particle emitters FCOLLADA extension]] for more information on this instance type.
| <instance_emitter> || url || Contains the complex <instance_emitter> entity type. See [[Particle emitters FCOLLADA extension]] for more information on this instance type.
|-
|-
| <instance_force_field> || Contains the complex <instance_force_field> entity type. See [[Particle forces FCOLLADA extension]] for more information on this instance type.
| <instance_force_field> || url || Contains the complex <instance_force_field> entity type. See [[Particle forces FCOLLADA extension]] for more information on this instance type.
|-
|-
|}
|}


== Example ==
== Example ==

Revision as of 22:03, 2 July 2007

Extension information
  • Purpose: unstated
  • Company(s): [[Feeling Software]]
  • Product(s): [[FCollada]]
  • Last updated: unstated
  • Contact for technical issues:
This article is part of the COLLADA extensions directory
Adding to the extensions directory

Extra entity instances extension

This <extra> at the <node> level is typed 'instances' and contains the instance information for the non-standard entity types added by FCollada to COLLADA.


Currently, this extension is used to contain emitter instances and force field instances.


As with normal instances, the url attribute is used to identify the instanced entity.

Element Attributes supported Description
<instance_emitter> url Contains the complex <instance_emitter> entity type. See Particle emitters FCOLLADA extension for more information on this instance type.
<instance_force_field> url Contains the complex <instance_force_field> entity type. See Particle forces FCOLLADA extension for more information on this instance type.


Example

 <node>
   <extra type="instances">
     <technique profile="FCOLLADA">
       <instance_emitter url="#some_emitter"/>
       <instance_force_field url="#some_force"/>
     </technique>
   </extra>
 </node>