|
@@ -1938,6 +1938,11 @@ namespace Urho3D
|
|
|
- %Value : float
|
|
- %Value : float
|
|
|
- %Show %Percent %Text : bool
|
|
- %Show %Percent %Text : bool
|
|
|
|
|
|
|
|
|
|
+### RaycastVehicle
|
|
|
|
|
+- %Wheel %data : VariantVector
|
|
|
|
|
+- %Maximum %side %slip %threshold : float
|
|
|
|
|
+- %RPM %for %wheel %motors %in %air (0=calculate) : float
|
|
|
|
|
+
|
|
|
### RibbonTrail
|
|
### RibbonTrail
|
|
|
- %Is %Enabled : bool
|
|
- %Is %Enabled : bool
|
|
|
- %Max %Lights : int
|
|
- %Max %Lights : int
|
|
@@ -2778,6 +2783,7 @@ namespace Urho3D
|
|
|
<a href="#Class_Quaternion"><b>Quaternion</b></a>
|
|
<a href="#Class_Quaternion"><b>Quaternion</b></a>
|
|
|
<a href="#Class_Ray"><b>Ray</b></a>
|
|
<a href="#Class_Ray"><b>Ray</b></a>
|
|
|
<a href="#Class_RayQueryResult"><b>RayQueryResult</b></a>
|
|
<a href="#Class_RayQueryResult"><b>RayQueryResult</b></a>
|
|
|
|
|
+<a href="#Class_RaycastVehicle"><b>RaycastVehicle</b></a>
|
|
|
<a href="#Class_Rect"><b>Rect</b></a>
|
|
<a href="#Class_Rect"><b>Rect</b></a>
|
|
|
<a href="#Class_RefCounted"><b>RefCounted</b></a>
|
|
<a href="#Class_RefCounted"><b>RefCounted</b></a>
|
|
|
<a href="#Class_RenderPath"><b>RenderPath</b></a>
|
|
<a href="#Class_RenderPath"><b>RenderPath</b></a>
|
|
@@ -10599,6 +10605,112 @@ Properties:
|
|
|
- uint subObject
|
|
- uint subObject
|
|
|
- Vector2 textureUV
|
|
- Vector2 textureUV
|
|
|
|
|
|
|
|
|
|
+<a name="Class_RaycastVehicle"></a>
|
|
|
|
|
+
|
|
|
|
|
+### RaycastVehicle
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- void AddWheel(Node@, Vector3, Vector3, float, float, bool)
|
|
|
|
|
+- void ApplyAttributes()
|
|
|
|
|
+- void DrawDebugGeometry(DebugRenderer@, bool)
|
|
|
|
|
+- Variant GetAttribute(const String&) const
|
|
|
|
|
+- ValueAnimation@ GetAttributeAnimation(const String&) const
|
|
|
|
|
+- float GetAttributeAnimationSpeed(const String&) const
|
|
|
|
|
+- float GetAttributeAnimationTime(const String&) const
|
|
|
|
|
+- WrapMode GetAttributeAnimationWrapMode(const String&) const
|
|
|
|
|
+- Variant GetAttributeDefault(const String&) const
|
|
|
|
|
+- float GetBrake(int)
|
|
|
|
|
+- Vector3 GetContactNormal(int)
|
|
|
|
|
+- Vector3 GetContactPosition(int)
|
|
|
|
|
+- float GetEngineForce(int)
|
|
|
|
|
+- bool GetInterceptNetworkUpdate(const String&) const
|
|
|
|
|
+- float GetMaxSuspensionTravel(int)
|
|
|
|
|
+- float GetSteeringValue(int)
|
|
|
|
|
+- Vector3 GetWheelAxle(int)
|
|
|
|
|
+- Vector3 GetWheelConnectionPoint(int)
|
|
|
|
|
+- float GetWheelDampingCompression(int)
|
|
|
|
|
+- float GetWheelDampingRelaxation(int)
|
|
|
|
|
+- Vector3 GetWheelDirection(int)
|
|
|
|
|
+- float GetWheelFrictionSlip(int)
|
|
|
|
|
+- Node@ GetWheelNode(int)
|
|
|
|
|
+- Vector3 GetWheelPosition(int)
|
|
|
|
|
+- float GetWheelRadius(int)
|
|
|
|
|
+- float GetWheelRestLength(int)
|
|
|
|
|
+- float GetWheelRollInfluence(int)
|
|
|
|
|
+- Vector3 GetWheelRotation(int)
|
|
|
|
|
+- float GetWheelSideSlipSpeed(int)
|
|
|
|
|
+- float GetWheelSkidInfo(int)
|
|
|
|
|
+- float GetWheelSkidInfoCumulative(int)
|
|
|
|
|
+- float GetWheelSuspensionStiffness(int)
|
|
|
|
|
+- bool HasSubscribedToEvent(Object@, const String&)
|
|
|
|
|
+- bool HasSubscribedToEvent(const String&)
|
|
|
|
|
+- void Init()
|
|
|
|
|
+- bool IsFrontWheel(int)
|
|
|
|
|
+- bool Load(File@, bool = false)
|
|
|
|
|
+- bool Load(VectorBuffer&, bool = false)
|
|
|
|
|
+- bool LoadJSON(const JSONValue&, bool = false)
|
|
|
|
|
+- bool LoadXML(const XMLElement&, bool = false)
|
|
|
|
|
+- void MarkNetworkUpdate() const
|
|
|
|
|
+- void Remove()
|
|
|
|
|
+- void RemoveAttributeAnimation(const String&)
|
|
|
|
|
+- void RemoveInstanceDefault()
|
|
|
|
|
+- void RemoveObjectAnimation()
|
|
|
|
|
+- void ResetSuspension()
|
|
|
|
|
+- void ResetToDefault()
|
|
|
|
|
+- void ResetWheels()
|
|
|
|
|
+- bool Save(File@) const
|
|
|
|
|
+- bool Save(VectorBuffer&) const
|
|
|
|
|
+- bool SaveJSON(JSONValue&) const
|
|
|
|
|
+- bool SaveXML(XMLElement&) const
|
|
|
|
|
+- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
|
|
|
+- void SetAnimationTime(float)
|
|
|
|
|
+- bool SetAttribute(const String&, const Variant&)
|
|
|
|
|
+- void SetAttributeAnimation(const String&, ValueAnimation@, WrapMode = WM_LOOP, float = 1.0f)
|
|
|
|
|
+- void SetAttributeAnimationSpeed(const String&, float)
|
|
|
|
|
+- void SetAttributeAnimationTime(const String&, float)
|
|
|
|
|
+- void SetAttributeAnimationWrapMode(const String&, WrapMode)
|
|
|
|
|
+- void SetBrake(int, float)
|
|
|
|
|
+- void SetEngineForce(int, float)
|
|
|
|
|
+- void SetInterceptNetworkUpdate(const String&, bool)
|
|
|
|
|
+- void SetMaxSuspensionTravel(int, float)
|
|
|
|
|
+- void SetSteeringValue(int, float)
|
|
|
|
|
+- void SetWheelAxle(int, Vector3)
|
|
|
|
|
+- void SetWheelDampingCompression(int, float)
|
|
|
|
|
+- void SetWheelDampingRelaxation(int, float)
|
|
|
|
|
+- void SetWheelDirection(int, Vector3)
|
|
|
|
|
+- void SetWheelFrictionSlip(int, float)
|
|
|
|
|
+- void SetWheelRadius(int, float)
|
|
|
|
|
+- void SetWheelRestLength(int, float)
|
|
|
|
|
+- void SetWheelRollInfluence(int, float)
|
|
|
|
|
+- void SetWheelSkidInfo(int, float)
|
|
|
|
|
+- void SetWheelSkidInfoCumulative(int, float)
|
|
|
|
|
+- void SetWheelSuspensionStiffness(int, float)
|
|
|
|
|
+- void UpdateWheelTransform(int, bool)
|
|
|
|
|
+- bool WheelIsGrounded(int)
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- bool animationEnabled
|
|
|
|
|
+- Variant[] attributeDefaults // readonly
|
|
|
|
|
+- AttributeInfo[] attributeInfos // readonly
|
|
|
|
|
+- Variant[] attributes
|
|
|
|
|
+- String category // readonly
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool enabledEffective // readonly
|
|
|
|
|
+- uint id // readonly
|
|
|
|
|
+- float inAirRPM
|
|
|
|
|
+- float maxSideSlipSpeed
|
|
|
|
|
+- Node@ node // readonly
|
|
|
|
|
+- uint numAttributes // readonly
|
|
|
|
|
+- int numWheels // readonly
|
|
|
|
|
+- ObjectAnimation@ objectAnimation
|
|
|
|
|
+- int refs // readonly
|
|
|
|
|
+- bool temporary
|
|
|
|
|
+- StringHash type // readonly
|
|
|
|
|
+- String typeName // readonly
|
|
|
|
|
+- int weakRefs // readonly
|
|
|
|
|
+
|
|
|
<a name="Class_Rect"></a>
|
|
<a name="Class_Rect"></a>
|
|
|
|
|
|
|
|
### Rect
|
|
### Rect
|