DynamicsDraw.xsd 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="uri:ea.com:eala:asset" xmlns:at="uri:ea.com:eala:asset:type" xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified" xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
  3. <xs:complexType name="DynamicsBoneVolumeType">
  4. <xs:annotation>
  5. <xs:documentation>
  6. A bone to be dynamically simulated. The supplied volume is interpreted as relative to the object's origin.
  7. </xs:documentation>
  8. </xs:annotation>
  9. <xs:complexContent>
  10. <xs:extension base="DynamicsVolumeType">
  11. <xs:attribute name="BoneName" type="xs:string" />
  12. </xs:extension>
  13. </xs:complexContent>
  14. </xs:complexType>
  15. <xs:complexType name="DynamicsBoneVolumeSetType">
  16. <xs:sequence>
  17. <xs:element name="BoneVolume" type="DynamicsBoneVolumeType" minOccurs="0" maxOccurs="unbounded" />
  18. </xs:sequence>
  19. </xs:complexType>
  20. <xs:complexType name="W3DDynamicsDrawModuleData">
  21. <xs:complexContent>
  22. <xs:extension base="W3DScriptedModelDrawModuleData">
  23. <xs:sequence>
  24. <xs:element name="BoneVolumes" type="DynamicsBoneVolumeSetType" minOccurs="0" maxOccurs="1">
  25. <xs:annotation>
  26. <xs:documentation>
  27. The set of bones to be assigned volumes. If a bone is not specified, it is tied to its parent bone.
  28. </xs:documentation>
  29. </xs:annotation>
  30. </xs:element>
  31. <xs:element name="Lifetime" type="DynamicsLifetime" minOccurs="0" maxOccurs="1"/>
  32. </xs:sequence>
  33. <xs:attribute name="Collision" type="DynamicsCollisionType" />
  34. <xs:attribute name="IntuitiveCollision" type="IntuitiveCollisionType" default="COLLIDES_WITH_GROUND_ONLY"/>
  35. <xs:attribute name="DrawPriority" type="DynamicsDrawPriority" default="MUST_BE_DRAWN">
  36. <xs:annotation>
  37. <xs:documentation>
  38. Draw priority of the dynamics object. Low priority objects get removed first
  39. from the dynamics world to make room for high priority objects.
  40. </xs:documentation>
  41. </xs:annotation>
  42. </xs:attribute>
  43. <xs:attribute name="LODPriority" type="EffectsLODType" default="VERY_LOW">
  44. <xs:annotation>
  45. <xs:documentation>
  46. Specifies how likely dynamics volumes will be created according to the Effects
  47. LOD setting. If the LODPriority is set to more than the Options setting, we may cull
  48. some volumes. No culling by default.
  49. </xs:documentation>
  50. </xs:annotation>
  51. </xs:attribute>
  52. <xs:attribute name="Explodiness" type="SageReal" default="0">
  53. <xs:annotation>
  54. <xs:documentation>
  55. Specifies how much bones are exploded outwards from the origin of the object.
  56. A value of 0 specifies that objects are given no radial force.
  57. A value of 5 is probably kind of TOO explodey.
  58. </xs:documentation>
  59. </xs:annotation>
  60. </xs:attribute>
  61. <xs:attribute name="FlingPerturbation" type="SageReal" default="0">
  62. <xs:annotation>
  63. <xs:documentation>
  64. Specifies a magnitude for a random vector applied to each bone in an object.
  65. A value of 0 specified that objects are not manually perturbed.
  66. </xs:documentation>
  67. </xs:annotation>
  68. </xs:attribute>
  69. <xs:attribute name="InitiallyActive" type="SageBool" default="true" />
  70. </xs:extension>
  71. </xs:complexContent>
  72. </xs:complexType>
  73. </xs:schema>