|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.collada._2005._11.colladaschema.RigidBody.TechniqueCommon
public static class RigidBody.TechniqueCommon
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 name="dynamic" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
<attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
<element name="mass_frame" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded">
<element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="inertia" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3" minOccurs="0"/>
<choice minOccurs="0">
<element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
</choice>
<element name="shape" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="hollow" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.collada.org/2005/11/COLLADASchema>bool">
<attribute name="sid" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</extension>
</simpleContent>
</complexType>
</element>
<element name="mass" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
<element name="density" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
<choice minOccurs="0">
<element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_physics_material"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}physics_material"/>
</choice>
<choice>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}instance_geometry"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}plane"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}box"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}sphere"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}cylinder"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_cylinder"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}capsule"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}tapered_capsule"/>
</choice>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.collada.org/2005/11/COLLADASchema}translate"/>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}rotate"/>
</choice>
<element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
RigidBody.TechniqueCommon.Dynamic
Java class for anonymous complex type. |
static class |
RigidBody.TechniqueCommon.MassFrame
Java class for anonymous complex type. |
static class |
RigidBody.TechniqueCommon.Shape
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected RigidBody.TechniqueCommon.Dynamic |
dynamic
|
protected TargetableFloat3 |
inertia
|
protected InstanceWithExtra |
instancePhysicsMaterial
|
protected TargetableFloat |
mass
|
protected RigidBody.TechniqueCommon.MassFrame |
massFrame
|
protected PhysicsMaterial |
physicsMaterial
|
protected List<RigidBody.TechniqueCommon.Shape> |
shape
|
| Constructor Summary | |
|---|---|
RigidBody.TechniqueCommon()
|
|
| Method Summary | |
|---|---|
RigidBody.TechniqueCommon.Dynamic |
getDynamic()
Gets the value of the dynamic property. |
TargetableFloat3 |
getInertia()
Gets the value of the inertia property. |
InstanceWithExtra |
getInstancePhysicsMaterial()
References a physics_material for the rigid_body. |
TargetableFloat |
getMass()
Gets the value of the mass property. |
RigidBody.TechniqueCommon.MassFrame |
getMassFrame()
Gets the value of the massFrame property. |
PhysicsMaterial |
getPhysicsMaterial()
Defines a physics_material for the rigid_body. |
List<RigidBody.TechniqueCommon.Shape> |
getShape()
Gets the value of the shape property. |
void |
setDynamic(RigidBody.TechniqueCommon.Dynamic value)
Sets the value of the dynamic property. |
void |
setInertia(TargetableFloat3 value)
Sets the value of the inertia property. |
void |
setInstancePhysicsMaterial(InstanceWithExtra value)
References a physics_material for the rigid_body. |
void |
setMass(TargetableFloat value)
Sets the value of the mass property. |
void |
setMassFrame(RigidBody.TechniqueCommon.MassFrame value)
Sets the value of the massFrame property. |
void |
setPhysicsMaterial(PhysicsMaterial value)
Defines a physics_material for the rigid_body. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected RigidBody.TechniqueCommon.Dynamic dynamic
protected TargetableFloat mass
protected RigidBody.TechniqueCommon.MassFrame massFrame
protected TargetableFloat3 inertia
protected InstanceWithExtra instancePhysicsMaterial
protected PhysicsMaterial physicsMaterial
protected List<RigidBody.TechniqueCommon.Shape> shape
| Constructor Detail |
|---|
public RigidBody.TechniqueCommon()
| Method Detail |
|---|
public RigidBody.TechniqueCommon.Dynamic getDynamic()
RigidBody.TechniqueCommon.Dynamicpublic void setDynamic(RigidBody.TechniqueCommon.Dynamic value)
value - allowed object is
RigidBody.TechniqueCommon.Dynamicpublic TargetableFloat getMass()
TargetableFloatpublic void setMass(TargetableFloat value)
value - allowed object is
TargetableFloatpublic RigidBody.TechniqueCommon.MassFrame getMassFrame()
RigidBody.TechniqueCommon.MassFramepublic void setMassFrame(RigidBody.TechniqueCommon.MassFrame value)
value - allowed object is
RigidBody.TechniqueCommon.MassFramepublic TargetableFloat3 getInertia()
TargetableFloat3public void setInertia(TargetableFloat3 value)
value - allowed object is
TargetableFloat3public InstanceWithExtra getInstancePhysicsMaterial()
InstanceWithExtrapublic void setInstancePhysicsMaterial(InstanceWithExtra value)
value - allowed object is
InstanceWithExtrapublic PhysicsMaterial getPhysicsMaterial()
PhysicsMaterialpublic void setPhysicsMaterial(PhysicsMaterial value)
value - allowed object is
PhysicsMaterialpublic List<RigidBody.TechniqueCommon.Shape> getShape()
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 shape property.
For example, to add a new item, do as follows:
getShape().add(newItem);
Objects of the following type(s) are allowed in the list
RigidBody.TechniqueCommon.Shape
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||