| java.lang.Object org.collada.colladaschema.PhysicsModel
PhysicsModel | public class PhysicsModel (Code) | | Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}rigid_body" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}rigid_constraint" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_model" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</restriction>
</complexContent>
</complexType>
|
Method Summary | |
public Asset | getAsset() The physics_model element may contain an asset element. | public List<Extra> | getExtras() The extra element may appear any number of times.
Gets the value of the extras property.
This accessor method returns a reference to the live list,
not a snapshot. | public String | getId() Gets the value of the id property. | public List<InstancePhysicsModel> | getInstancePhysicsModels() The physics_model may instance any number of other physics_model elements.
Gets the value of the instancePhysicsModels property.
This accessor method returns a reference to the live list,
not a snapshot. | public String | getName() Gets the value of the name property. | public List<RigidBody> | getRigidBodies() The physics_model may define any number of rigid_body elements.
Gets the value of the rigidBodies property.
This accessor method returns a reference to the live list,
not a snapshot. | public List<RigidConstraint> | getRigidConstraints() The physics_model may define any number of rigid_constraint elements.
Gets the value of the rigidConstraints property.
This accessor method returns a reference to the live list,
not a snapshot. | public void | setAsset(Asset value) The physics_model element may contain an asset element. | public void | setId(String value) Sets the value of the id property. | public void | setName(String value) Sets the value of the name property. |
getAsset | public Asset getAsset()(Code) | | The physics_model element may contain an asset element.
possible object isAsset |
getExtras | public List<Extra> getExtras()(Code) | | The extra element may appear any number of times.
Gets the value of the extras property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the extras property.
For example, to add a new item, do as follows:
getExtras().add(newItem);
Objects of the following type(s) are allowed in the list
Extra |
getId | public String getId()(Code) | | Gets the value of the id property.
possible object isString |
getInstancePhysicsModels | public List<InstancePhysicsModel> getInstancePhysicsModels()(Code) | | The physics_model may instance any number of other physics_model elements.
Gets the value of the instancePhysicsModels property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the instancePhysicsModels property.
For example, to add a new item, do as follows:
getInstancePhysicsModels().add(newItem);
Objects of the following type(s) are allowed in the list
InstancePhysicsModel |
getName | public String getName()(Code) | | Gets the value of the name property.
possible object isString |
getRigidBodies | public List<RigidBody> getRigidBodies()(Code) | | The physics_model may define any number of rigid_body elements.
Gets the value of the rigidBodies property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the rigidBodies property.
For example, to add a new item, do as follows:
getRigidBodies().add(newItem);
Objects of the following type(s) are allowed in the list
RigidBody |
getRigidConstraints | public List<RigidConstraint> getRigidConstraints()(Code) | | The physics_model may define any number of rigid_constraint elements.
Gets the value of the rigidConstraints property.
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the rigidConstraints property.
For example, to add a new item, do as follows:
getRigidConstraints().add(newItem);
Objects of the following type(s) are allowed in the list
RigidConstraint |
setAsset | public void setAsset(Asset value)(Code) | | The physics_model element may contain an asset element.
Parameters: value - allowed object isAsset |
setId | public void setId(String value)(Code) | | Sets the value of the id property.
Parameters: value - allowed object isString |
setName | public void setName(String value)(Code) | | Sets the value of the name property.
Parameters: value - allowed object isString |
|
|