Vehicle |
public class VehicleType : Component
The VehicleType type exposes the following members.
| Name | Description | |
|---|---|---|
| VehicleType | Initializes a new instance of the VehicleType class |
| Name | Description | |
|---|---|---|
| AnyData |
The user data of the component.
(Inherited from Component) | |
| BaseType |
Gets the base type of the object.
(Inherited from Component) | |
| Chassis | The type of chassis. | |
| CloneSupport |
Whether the object supports cloning.
(Inherited from Component) | |
| Components |
Gets the collection of the child components.
(Inherited from Component) | |
| CreatedByBaseType |
Whether the object is created using a base type.
(Inherited from Component) | |
| DifferentialLimitedSlipRatio | Ratio max / min average wheel speed of each differential (measured at the clutch). When the ratio is exceeded all torque gets distributed to the differential with the minimal average velocity. This allows implementing a limited slip differential between differentials. Set to FLT_MAX for an open differential. Value should be > 1. | |
| DisplayInEditor |
Whether to show the object in the editor.
(Inherited from Component) | |
| Disposed |
Whether the object is disposed.
(Inherited from Component) | |
| EditorDisplayLights | Whether to display the debug visualization of the lights. | |
| EditorDisplayPhysics | Whether to display the debug visualization of the physics. | |
| EditorDisplaySeats | Whether to display the debug visualization of the seats. | |
| EditorDisplayWheels | Whether to display the debug visualization of the wheels. | |
| EditorDocumentConfiguration |
Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component) | |
| EditorReadOnly |
Whether the object is read only in the editor.
(Inherited from Component) | |
| EditorReadOnlyInHierarchy |
Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component) | |
| Enabled |
Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component) | |
| EnabledInHierarchy |
Determines whether the object is attached to a hierarchy of the components and enabled. The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component) | |
| EnabledInHierarchyAndIsInstance |
Determines when the object is attached to a hierarchy of the components, is enabled and the object if not part of a resource (it is usual object instance). The object will be enabled only when all parents are enabled, and the property Enabled is enabled.
(Inherited from Component) | |
| EngineAngularDamping | Angular damping factor of the wheel: dw/dt = -c * w. | |
| EngineInertia | Moment of inertia (kg m^2) of the engine. | |
| EngineMaxRPM | Max amount of revolutions per minute (rpm) the engine can generate. | |
| EngineMaxTorque | Max amount of torque (Nm) that the engine can deliver. | |
| EngineMinRPM | Min amount of revolutions per minute (rpm) the engine can produce without stalling. | |
| EngineNormalizedTorque | Curve that describes a ratio of the max torque the engine can produce vs the fraction of the max RPM of the engine. | |
| GearDownSound | ||
| GearSounds | ||
| GearUpSound | ||
| HierarchyController |
Gets the object hierarchy control controller.
(Inherited from Component) | |
| IsResource | (Inherited from Component) | |
| LightOptimize | Whether to enable lights optimization (shadows). | |
| LightPairs | Whether to make two instances for each light for right and left sides. | |
| MaxPitchRollAngle | Defines the maximum pitch/roll angle, can be used to avoid the car from getting upside down. The vehicle up direction will stay within a cone centered around the up axis with half top angle MaxPitchRollAngle, set to 180 to turn off. | |
| MaxSlopeAngle | Max angle that is considered for colliding wheels. This is to avoid colliding with vertical walls. | |
| Mesh | The main mesh of the vehicle. | |
| MotorOffSound | ||
| MotorOnSound | ||
| Name |
The name of the component.
(Inherited from Component) | |
| NetworkID | (Inherited from Component) | |
| NetworkIsClient | (Inherited from Component) | |
| NetworkIsServer |
Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component) | |
| NetworkIsSingle | (Inherited from Component) | |
| NetworkIsSingleOrClient | (Inherited from Component) | |
| NetworkMode |
Whether to enable synchronization of the component between server and clients.
(Inherited from Component) | |
| NetworkModeUsers | (Inherited from Component) | |
| Parent |
Gets the parent object.
(Inherited from Component) | |
| ParentRoot |
Gets the parent root object.
(Inherited from Component) | |
| RemoveFromParentQueued |
Whether the object is placed in the detach queue from the parent.
(Inherited from Component) | |
| SaveSupport |
Whether the object supports saving to a file.
(Inherited from Component) | |
| ScreenLabel |
The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component) | |
| SeatPairs | Whether to make two instances for each seat for right and left sides. | |
| TrackAngularDamping | Damping factor of track and its wheels: dw/dt = -c * w as seen on the driven wheel | |
| TrackDifferentialRatio | Ratio between rotation speed of gear box and driven wheel of track. | |
| TrackDrivenWheel | Which wheel on the track is connected to the engine. | |
| TrackFragmentLength | Length of the track piece. | |
| TrackFragmentMesh | Mesh of the track. | |
| TrackInertia | Moment of inertia (kg m^2) of the track and its wheels as seen on the driven wheel. | |
| TrackMaxBrakeTorque | How much torque (Nm) the brakes can apply on the driven wheel. | |
| TransmissionAuto | How to switch gears. | |
| TransmissionClutchReleaseTime | How long it takes to release the clutch (go to full friction), only used in auto mode. | |
| TransmissionClutchStrength | Strength of the clutch when fully engaged. Total torque a clutch applies is Torque = ClutchStrength * (Velocity Engine - Avg Velocity Wheels) (units: k m^2 s^-1). | |
| TransmissionGearRatios | Ratio in rotation rate between engine and gear box, first element is 1st gear, 2nd element 2nd gear etc. | |
| TransmissionReverseGearRatios | Ratio in rotation rate between engine and gear box when driving in reverse. | |
| TransmissionShiftDownRPM | If RPM of engine is smaller then this we will shift a gear down, only used in auto mode. | |
| TransmissionShiftUpRPM | If RPM of engine is bigger then this we will shift a gear up, only used in auto mode. | |
| TransmissionSwitchLatency | How long to wait after releasing the clutch before another switch is attempted (s), only used in auto mode. | |
| TransmissionSwitchTime | How long it takes to switch gears (s), only used in auto mode. | |
| TurretTurnSound | ||
| TypeSettingsPrivateObjects |
Object settings when used as a type.
(Inherited from Component) | |
| Version |
| Name | Description | |
|---|---|---|
| AddComponent |
Adds a component as a child.
(Inherited from Component) | |
| BeginNetworkMessage(ServerNetworkService_ComponentsClientItem, String) | (Inherited from Component) | |
| BeginNetworkMessage(IListServerNetworkService_ComponentsClientItem, String) | (Inherited from Component) | |
| BeginNetworkMessage(IListServerNetworkService_UsersUserInfo, String) | (Inherited from Component) | |
| BeginNetworkMessage(ServerNetworkService_UsersUserInfo, String) | (Inherited from Component) | |
| BeginNetworkMessageToEveryone | (Inherited from Component) | |
| BeginNetworkMessageToServer | (Inherited from Component) | |
| CalculateHeightToBottomOfWheels | ||
| Clone |
Creates a copy of the object.
(Inherited from Component) | |
| CreateComponent(Type, Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
(Inherited from Component) | |
| CreateComponent(MetadataTypeInfo, Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
(Inherited from Component) | |
| CreateComponentT(Int32, Boolean, Boolean, NetworkModeEnum) |
Creates a child component.
(Inherited from Component) | |
| DataWasChanged | ||
| Dispose |
Detaches the object from the hierarchy and deletes the object data.
(Inherited from Component) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FindParent(Type) |
Finds the parent of the specified type.
(Inherited from Component) | |
| FindParent(MetadataTypeInfo) |
Finds the parent of the specified type.
(Inherited from Component) | |
| FindParentT |
Finds the parent of the specified type.
(Inherited from Component) | |
| FindThisOrParent(Type) |
Finds the parent or self of the specified type.
(Inherited from Component) | |
| FindThisOrParent(MetadataTypeInfo) |
Finds the parent or self of the specified type.
(Inherited from Component) | |
| FindThisOrParentT |
Finds the parent or self of the specified type.
(Inherited from Component) | |
| GetAllParents |
Gets all parents of the component.
(Inherited from Component) | |
| GetComponent(String, Boolean) |
Finds a child component by name.
(Inherited from Component) | |
| GetComponent(Type, Boolean, Boolean) |
Finds a child component of the specified type.
(Inherited from Component) | |
| GetComponent(MetadataTypeInfo, Boolean, Boolean) |
Finds a child component of the specified type.
(Inherited from Component) | |
| GetComponentT(Boolean, Boolean) |
Finds a child component of the specified type.
(Inherited from Component) | |
| GetComponentByNameWithIndex |
Finds a child component by name and number in the case when there are several components with the specified name.
(Inherited from Component) | |
| GetComponentByPath |
Finds a child component by path.
(Inherited from Component) | |
| GetComponents(Boolean, Boolean, Boolean, Boolean) |
Finds child components.
(Inherited from Component) | |
| GetComponents(Boolean, Boolean, Boolean, Boolean, ActionComponent) |
Finds child components.
(Inherited from Component) | |
| GetComponents(Type, Boolean, Boolean, Boolean, Boolean) |
Finds child components of the specified type.
(Inherited from Component) | |
| GetComponents(MetadataTypeInfo, Boolean, Boolean, Boolean, Boolean) |
Finds child components of the specified type.
(Inherited from Component) | |
| GetComponentsT(Boolean, Boolean, Boolean, Boolean, ActionT) |
Finds child components of the specified type.
(Inherited from Component) | |
| GetGearSound | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetMeshesInDefaultState | ||
| GetPathFromParent |
Returns the path to the object from the parent.
(Inherited from Component) | |
| GetPathFromRoot |
Returns the object's access path from the root object.
(Inherited from Component) | |
| GetProvidedType |
Returns a type when the object is used as a type.
(Inherited from Component) | |
| GetScreenLabelInfo | (Inherited from Component) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| IsMethodInvoking |
Checks if a method is running over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component) | |
| IsValid | ||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MetadataGetMemberBySignature |
Returns the object metadata member by name.
(Inherited from Component) | |
| MetadataGetMembers |
Returns the object metadata members.
(Inherited from Component) | |
| MethodInvoke |
Calls a method by name.
(Inherited from Component) | |
| MethodInvokeCancel |
Cancels the execution of selected method that run over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component) | |
| MethodInvokeCancelAll |
Cancels the execution of all methods that run over time. You can start executing such methods using MethodInvoke(String, Object, Double, Double) method.
(Inherited from Component) | |
| NetworkDisablePropertySynchronization | (Inherited from Component) | |
| NetworkIsDisabledPropertySynchronization | (Inherited from Component) | |
| NetworkModeAddUser | (Inherited from Component) | |
| NetworkModeIsEnabledForUser | (Inherited from Component) | |
| NetworkModeRemoveUser | (Inherited from Component) | |
| NetworkRestoreDisabledPropertySynchronization | (Inherited from Component) | |
| NewObjectSetDefaultConfiguration | (Overrides ComponentNewObjectSetDefaultConfiguration(Boolean)) | |
| NewObjectSetDefaultConfigurationUpdate |
Called during object creation in the editor. Designed to configure the initial state.
(Inherited from Component) | |
| OnAddedToParent |
Called when a component is added to the parent.
(Inherited from Component) | |
| OnClientConnectedAfterRootComponentEnabled | (Inherited from Component) | |
| OnClientConnectedBeforeRootComponentEnabled | (Inherited from Component) | |
| OnClientDisconnected | (Inherited from Component) | |
| OnClone |
Called when the object is cloned.
(Inherited from Component) | |
| OnComponentAdded |
Called when a child component is added.
(Inherited from Component) | |
| OnComponentRemoved |
Called when a child component is removed.
(Inherited from Component) | |
| OnDisabled |
Called when the object is detached from a hierarchy of the components or is disabled. See also EnabledInHierarchy property.
(Inherited from Component) | |
| OnDisabledInSimulation |
Called when the object is detached from a hierarchy of the components or is disabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component) | |
| OnDispose |
Called when the object is disposed.
(Inherited from Component) | |
| OnEditorGetTextInfoCenterBottomCorner | (Inherited from Component) | |
| OnEnabled |
Called when the object is attached to a hierarchy of the components and is enabled. See also EnabledInHierarchy property.
(Inherited from Component) | |
| OnEnabledChanged |
Called when value of Enabled property is changed.
(Inherited from Component) | |
| OnEnabledInHierarchyChanged | (Overrides ComponentOnEnabledInHierarchyChanged) | |
| OnEnabledInSimulation |
Called when the object is attached to a hierarchy of the components and is enabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component) | |
| OnLoad | (Overrides ComponentOnLoad(MetadataLoadContext, TextBlock, String)) | |
| OnMetadataGetMemberBySignature |
Called when the object metadata member is received by name.
(Inherited from Component) | |
| OnMetadataGetMembers |
Called upon receipt of the object's metadata members.
(Inherited from Component) | |
| OnMetadataGetMembersFilter | (Overrides ComponentOnMetadataGetMembersFilter(MetadataGetMembersContext, MetadataMember, Boolean)) | |
| OnPreloadResources |
Called when preloading the resources used by the object.
(Inherited from Component) | |
| OnReceiveNetworkMessageFromClient | (Inherited from Component) | |
| OnReceiveNetworkMessageFromServer | (Inherited from Component) | |
| OnRemovedFromParent |
Called when a component is removed from the parent.
(Inherited from Component) | |
| OnSave |
Called during object saving.
(Inherited from Component) | |
| OnSimulationStep |
Called during the simulation step.
(Inherited from Component) | |
| OnSimulationStepClient |
Called during the simulation step.
(Inherited from Component) | |
| OnUpdate |
Called during the update process of all objects.
(Inherited from Component) | |
| PreloadResources |
Preload resources used by the object.
(Inherited from Component) | |
| PropertyGet(String, Object, Boolean) |
Gets the value of a property by name.
(Inherited from Component) | |
| PropertySet |
Sets the value of a property by name.
(Inherited from Component) | |
| RemoveAllComponents |
Removes all child components.
(Inherited from Component) | |
| RemoveComponent |
Removes a child component.
(Inherited from Component) | |
| RemoveFromParent |
Detaches the object from its parent.
(Inherited from Component) | |
| ToString |
Returns the name and type of the object as a string.
(Inherited from Component) | |
| TypeSettingsIsPublic |
Checks whether the object provided as a type is public.
(Inherited from Component) | |
| TypeSettingsIsPublicMember |
Checks whether the member is set up as public.
(Inherited from Component) |
| Name | Description | |
|---|---|---|
| AddedToParent |
Occurs when a component is added to the parent.
(Inherited from Component) | |
| ChassisChanged | Occurs when the Chassis property value changes. | |
| CloneEvent |
Occurs when object is cloned.
(Inherited from Component) | |
| CloneSupportChanged |
Occurs after changing value of CloneSupport property.
(Inherited from Component) | |
| ComponentAdded |
Occurs when a child component is added.
(Inherited from Component) | |
| ComponentRemoved |
Occurs when a child component is removed.
(Inherited from Component) | |
| ComponentsChanged |
Occurs when the set of children is changed.
(Inherited from Component) | |
| DifferentialLimitedSlipRatioChanged | Occurs when the DifferentialLimitedSlipRatio property value changes. | |
| DisabledEvent |
Occurs when the object is disabled from a hierarchy of the components or is disabled. See also EnabledInHierarchy property.
(Inherited from Component) | |
| DisabledInSimulation |
Occurs when the object is detached from a hierarchy of the components or is disabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component) | |
| DisplayInEditorChanged |
Occurs when value of DisplayInEditor property is changed.
(Inherited from Component) | |
| DisposeEvent |
Occurs when the object is disposed.
(Inherited from Component) | |
| EnabledChanged |
Occurs when the Enabled property value changes.
(Inherited from Component) | |
| EnabledEvent |
Occurs when the object is attached to a hierarchy of the components and is enabled. See also EnabledInHierarchy property.
(Inherited from Component) | |
| EnabledInHierarchyChanged |
Occurs when the EnabledInHierarchy property value changes.
(Inherited from Component) | |
| EnabledInSimulation |
Occurs when the object is attached to a hierarchy of the components and is enabled. The method is called only in simulation application. See also EnabledInHierarchy property.
(Inherited from Component) | |
| EngineAngularDampingChanged | Occurs when the EngineAngularDamping property value changes. | |
| EngineInertiaChanged | Occurs when the EngineInertia property value changes. | |
| EngineMaxRPMChanged | Occurs when the EngineMaxRPM property value changes. | |
| EngineMaxTorqueChanged | Occurs when the EngineMaxTorque property value changes. | |
| EngineMinRPMChanged | Occurs when the EngineMinRPM property value changes. | |
| EngineNormalizedTorqueChanged | ||
| GearDownSoundChanged | Occurs when the GearDownSound property value changes. | |
| GearSoundsChanged | Occurs when the GearSoundsChanged property value changes. | |
| GearUpSoundChanged | Occurs when the GearUpSound property value changes. | |
| LightOptimizeChanged | Occurs when the LightOptimize property value changes. | |
| LightPairsChanged | Occurs when the LightPairs property value changes. | |
| LoadEvent |
Occurs during object loading.
(Inherited from Component) | |
| MaxPitchRollAngleChanged | Occurs when the MaxPitchRollAngle property value changes. | |
| MaxSlopeAngleChanged | Occurs when the MaxSlopeAngle property value changes. | |
| MeshChanged | Occurs when the Mesh property value changes. | |
| MetadataGetMemberBySignatureEvent |
Occurs when the object metadata member is received by name.
(Inherited from Component) | |
| MetadataGetMembersEvent |
Occurs upon receipt of the object's metadata members.
(Inherited from Component) | |
| MetadataGetMembersFilterEvent |
Occurs when filtering receive members of the object metadata.
(Inherited from Component) | |
| MotorOffSoundChanged | Occurs when the MotorOffSound property value changes. | |
| MotorOnSoundChanged | Occurs when the MotorOnSound property value changes. | |
| NameChanged |
Occurs when component name is changed.
(Inherited from Component) | |
| NetworkModeChanged | Occurs when the NetworkMode property value changes. (Inherited from Component) | |
| PreloadResourcesEvent |
Occurs when preloading the resources used by the object.
(Inherited from Component) | |
| ReceiveNetworkMessageFromClient | (Inherited from Component) | |
| ReceiveNetworkMessageFromServer | (Inherited from Component) | |
| RemovedFromParent |
Occurs when a component is removed from the parent.
(Inherited from Component) | |
| SaveEvent |
Occurs during object saving.
(Inherited from Component) | |
| SaveSupportChanged |
Occurs after changing value of SaveSupport property.
(Inherited from Component) | |
| ScreenLabelChanged | Occurs when the ScreenLabel property value changes. (Inherited from Component) | |
| SeatPairsChanged | Occurs when the SeatPairs property value changes. | |
| SimulationStep |
Occurs during the simulation step.
(Inherited from Component) | |
| SimulationStepClient |
Occurs during the simulation step.
(Inherited from Component) | |
| TrackAngularDampingChanged | Occurs when the TrackAngularDamping property value changes. | |
| TrackDifferentialRatioChanged | Occurs when the TrackDifferentialRatio property value changes. | |
| TrackDrivenWheelChanged | Occurs when the TrackDrivenWheel property value changes. | |
| TrackFragmentLengthChanged | Occurs when the TrackFragmentLength property value changes. | |
| TrackFragmentMeshChanged | Occurs when the TrackFragmentMesh property value changes. | |
| TrackInertiaChanged | Occurs when the TrackInertia property value changes. | |
| TrackMaxBrakeTorqueChanged | Occurs when the TrackMaxBrakeTorque property value changes. | |
| TransmissionAutoChanged | Occurs when the TransmissionAuto property value changes. | |
| TransmissionClutchReleaseTimeChanged | Occurs when the TransmissionClutchReleaseTime property value changes. | |
| TransmissionClutchStrengthChanged | Occurs when the TransmissionClutchStrength property value changes. | |
| TransmissionGearRatiosChanged | Occurs when the TransmissionGearRatios property value changes. | |
| TransmissionReverseGearRatiosChanged | Occurs when the TransmissionReverseGearRatios property value changes. | |
| TransmissionShiftDownRPMChanged | Occurs when the TransmissionShiftDownRPM property value changes. | |
| TransmissionShiftUpRPMChanged | Occurs when the TransmissionShiftUpRPM property value changes. | |
| TransmissionSwitchLatencyChanged | Occurs when the TransmissionSwitchLatency property value changes. | |
| TransmissionSwitchTimeChanged | Occurs when the TransmissionSwitchTime property value changes. | |
| TurretTurnSoundChanged | Occurs when the TurretTurnSound property value changes. | |
| UpdateEvent |
Occurs during the update process of all objects.
(Inherited from Component) |
| Name | Description | |
|---|---|---|
| EditorCameraTransform |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |