|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.collada._2005._11.colladaschema.InstanceRigidBody.TechniqueCommon.Shape
public static class InstanceRigidBody.TechniqueCommon.Shape
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="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>
| Nested Class Summary | |
|---|---|
static class |
InstanceRigidBody.TechniqueCommon.Shape.Hollow
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected Box |
box
|
protected Capsule |
capsule
|
protected Cylinder |
cylinder
|
protected TargetableFloat |
density
|
protected List<Extra> |
extra
|
protected InstanceRigidBody.TechniqueCommon.Shape.Hollow |
hollow
|
protected InstanceGeometry |
instanceGeometry
|
protected InstanceWithExtra |
instancePhysicsMaterial
|
protected TargetableFloat |
mass
|
protected PhysicsMaterial |
physicsMaterial
|
protected Plane |
plane
|
protected Sphere |
sphere
|
protected TaperedCapsule |
taperedCapsule
|
protected TaperedCylinder |
taperedCylinder
|
protected List<Object> |
translateOrRotate
|
| Constructor Summary | |
|---|---|
InstanceRigidBody.TechniqueCommon.Shape()
|
|
| Method Summary | |
|---|---|
Box |
getBox()
Gets the value of the box property. |
Capsule |
getCapsule()
Gets the value of the capsule property. |
Cylinder |
getCylinder()
Gets the value of the cylinder property. |
TargetableFloat |
getDensity()
Gets the value of the density property. |
List<Extra> |
getExtra()
The extra element may appear any number of times. |
InstanceRigidBody.TechniqueCommon.Shape.Hollow |
getHollow()
Gets the value of the hollow property. |
InstanceGeometry |
getInstanceGeometry()
Gets the value of the instanceGeometry property. |
InstanceWithExtra |
getInstancePhysicsMaterial()
Gets the value of the instancePhysicsMaterial property. |
TargetableFloat |
getMass()
Gets the value of the mass property. |
PhysicsMaterial |
getPhysicsMaterial()
Gets the value of the physicsMaterial property. |
Plane |
getPlane()
Gets the value of the plane property. |
Sphere |
getSphere()
Gets the value of the sphere property. |
TaperedCapsule |
getTaperedCapsule()
Gets the value of the taperedCapsule property. |
TaperedCylinder |
getTaperedCylinder()
Gets the value of the taperedCylinder property. |
List<Object> |
getTranslateOrRotate()
Gets the value of the translateOrRotate property. |
void |
setBox(Box value)
Sets the value of the box property. |
void |
setCapsule(Capsule value)
Sets the value of the capsule property. |
void |
setCylinder(Cylinder value)
Sets the value of the cylinder property. |
void |
setDensity(TargetableFloat value)
Sets the value of the density property. |
void |
setHollow(InstanceRigidBody.TechniqueCommon.Shape.Hollow value)
Sets the value of the hollow property. |
void |
setInstanceGeometry(InstanceGeometry value)
Sets the value of the instanceGeometry property. |
void |
setInstancePhysicsMaterial(InstanceWithExtra value)
Sets the value of the instancePhysicsMaterial property. |
void |
setMass(TargetableFloat value)
Sets the value of the mass property. |
void |
setPhysicsMaterial(PhysicsMaterial value)
Sets the value of the physicsMaterial property. |
void |
setPlane(Plane value)
Sets the value of the plane property. |
void |
setSphere(Sphere value)
Sets the value of the sphere property. |
void |
setTaperedCapsule(TaperedCapsule value)
Sets the value of the taperedCapsule property. |
void |
setTaperedCylinder(TaperedCylinder value)
Sets the value of the taperedCylinder property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected InstanceRigidBody.TechniqueCommon.Shape.Hollow hollow
protected TargetableFloat mass
protected TargetableFloat density
protected InstanceWithExtra instancePhysicsMaterial
protected PhysicsMaterial physicsMaterial
protected InstanceGeometry instanceGeometry
protected Plane plane
protected Box box
protected Sphere sphere
protected Cylinder cylinder
protected TaperedCylinder taperedCylinder
protected Capsule capsule
protected TaperedCapsule taperedCapsule
protected List<Object> translateOrRotate
protected List<Extra> extra
| Constructor Detail |
|---|
public InstanceRigidBody.TechniqueCommon.Shape()
| Method Detail |
|---|
public InstanceRigidBody.TechniqueCommon.Shape.Hollow getHollow()
InstanceRigidBody.TechniqueCommon.Shape.Hollowpublic void setHollow(InstanceRigidBody.TechniqueCommon.Shape.Hollow value)
value - allowed object is
InstanceRigidBody.TechniqueCommon.Shape.Hollowpublic TargetableFloat getMass()
TargetableFloatpublic void setMass(TargetableFloat value)
value - allowed object is
TargetableFloatpublic TargetableFloat getDensity()
TargetableFloatpublic void setDensity(TargetableFloat value)
value - allowed object is
TargetableFloatpublic InstanceWithExtra getInstancePhysicsMaterial()
InstanceWithExtrapublic void setInstancePhysicsMaterial(InstanceWithExtra value)
value - allowed object is
InstanceWithExtrapublic PhysicsMaterial getPhysicsMaterial()
PhysicsMaterialpublic void setPhysicsMaterial(PhysicsMaterial value)
value - allowed object is
PhysicsMaterialpublic InstanceGeometry getInstanceGeometry()
InstanceGeometrypublic void setInstanceGeometry(InstanceGeometry value)
value - allowed object is
InstanceGeometrypublic Plane getPlane()
Planepublic void setPlane(Plane value)
value - allowed object is
Planepublic Box getBox()
Boxpublic void setBox(Box value)
value - allowed object is
Boxpublic Sphere getSphere()
Spherepublic void setSphere(Sphere value)
value - allowed object is
Spherepublic Cylinder getCylinder()
Cylinderpublic void setCylinder(Cylinder value)
value - allowed object is
Cylinderpublic TaperedCylinder getTaperedCylinder()
TaperedCylinderpublic void setTaperedCylinder(TaperedCylinder value)
value - allowed object is
TaperedCylinderpublic Capsule getCapsule()
Capsulepublic void setCapsule(Capsule value)
value - allowed object is
Capsulepublic TaperedCapsule getTaperedCapsule()
TaperedCapsulepublic void setTaperedCapsule(TaperedCapsule value)
value - allowed object is
TaperedCapsulepublic List<Object> getTranslateOrRotate()
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 translateOrRotate property.
For example, to add a new item, do as follows:
getTranslateOrRotate().add(newItem);
Objects of the following type(s) are allowed in the list
TargetableFloat3
Rotate
public List<Extra> getExtra()
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 extra property.
For example, to add a new item, do as follows:
getExtra().add(newItem);
Objects of the following type(s) are allowed in the list
Extra
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||