Click or drag to resize

Weapon2D Properties

The Weapon2D type exposes the following members.

Properties
  NameDescription
Public propertyAdditionalItems (Inherited from MeshInSpace.)
Public propertyAnyData
The user data of the component.
(Inherited from Component.)
Public propertyBaseType
Gets the base type of the object.
(Inherited from Component.)
Public propertyCanBeSelected
Whether the object is selectable in the scene view.
(Inherited from ObjectInSpace.)
Public propertyCanBeSelectedInHierarchy (Inherited from ObjectInSpace.)
Public propertyCastShadows
Whether to cast shadows on the other surfaces.
(Inherited from MeshInSpace.)
Public propertyCloneSupport
Whether the object supports cloning.
(Inherited from Component.)
Public propertyCollision
Whether to add a collision body. A shape of the body will take from Collision Definition of the mesh.
(Inherited from MeshInSpace.)
Public propertyColor
The base color and opacity multiplier.
(Inherited from MeshInSpace.)
Public propertyComponents
Gets the collection of the child components.
(Inherited from Component.)
Public propertyCreatedByBaseType
Whether the object is created using a base type.
(Inherited from Component.)
Public propertyCutVolumes (Inherited from MeshInSpace.)
Public propertyDebugVisualization
Whether to display initial position and direction of a bullet.
Public propertyDisplayInEditor
Whether to show the object in the editor.
(Inherited from Component.)
Public propertyDisposed
Whether the object is disposed.
(Inherited from Component.)
Public propertyEditorAllowRenderSelection (Inherited from MeshInSpace.)
Public propertyEditorDocumentConfiguration
Gets or sets the configuration data of the object's settings in the editor.
(Inherited from Component.)
Public propertyEditorReadOnly
Whether the object is read only in the editor.
(Inherited from Component.)
Public propertyEditorReadOnlyInHierarchy
Whether the object is read-only in the editor with respect to parent objects.
(Inherited from Component.)
Public propertyEnabled
Whether the component is enabled. Any functionality of component is not works when it disabled.
(Inherited from Component.)
Public propertyEnabledInHierarchy
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.)
Public propertyEnabledInHierarchyAndIsInstance
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.)
Public propertyEnabledSelectionByCursor (Inherited from ObjectInSpace.)
Public propertyEventAnimation
Public propertyEventAnimationUpdateMethod
Public propertyFiring
Public propertyFiringCurrentTime
Public propertyHierarchyController
Gets the object hierarchy control controller.
(Inherited from Component.)
Public propertyItemCount
Public propertyMesh
The mesh used by the mesh object.
(Inherited from MeshInSpace.)
Public propertyMeshOutput (Inherited from Sprite.)
Public propertyModifiableMesh (Inherited from MeshInSpace.)
Public propertyModifiableMeshCreatedByObject (Inherited from MeshInSpace.)
Public propertyMotionBlurFactor
The multiplier of the motion blur effect.
(Inherited from MeshInSpace.)
Public propertyName
The name of the component.
(Inherited from Component.)
Public propertyNetworkID (Inherited from Component.)
Public propertyNetworkIsClient (Inherited from Component.)
Public propertyNetworkIsServer
Whether to work in network server mode. It is false until the scene is not loaded.
(Inherited from Component.)
Public propertyNetworkIsSingle (Inherited from Component.)
Public propertyNetworkIsSingleOrClient (Inherited from Component.)
Public propertyNetworkMode
Whether to enable synchronization of the component between server and clients.
(Inherited from Component.)
Public propertyNetworkModeUsers (Inherited from Component.)
Public propertyOccluder
Whether to object should be used as an occluder for occlusion culling.
(Inherited from MeshInSpace.)
Public propertyPaintLayersReplace (Inherited from MeshInSpace.)
Public propertyParent
Gets the parent object.
(Inherited from Component.)
Public propertyParentRoot
Gets the parent root object.
(Inherited from Component.)
Public propertyParentScene (Inherited from ObjectInSpace.)
Public propertyPhysicalBody (Inherited from MeshInSpace.)
Public propertyPhysicalBodyAngularVelocity
The initial angular velocity of the body.
(Inherited from MeshInSpace.)
Public propertyPhysicalBodyLinearVelocity
The initial linear velocity of the body.
(Inherited from MeshInSpace.)
Public propertyReceiveDecals
Whether it is possible to apply decals on the surface.
(Inherited from MeshInSpace.)
Public propertyRemainingLifetime
The lifetime of the component during the simulation.
(Inherited from ObjectInSpace.)
Public propertyRemoveFromParentQueued
Whether the object is placed in the detach queue from the parent.
(Inherited from Component.)
Public propertyReplaceMaterial
Replaces all geometries of the mesh by another material.
(Inherited from MeshInSpace.)
Public propertySaveSupport
Whether the object supports saving to a file.
(Inherited from Component.)
Public propertyScreenLabel
The displaying mode of an on-screen label of the component in the scene editor.
(Inherited from Component.)
Public propertySpaceBounds (Inherited from ObjectInSpace.)
Public propertySpaceBoundsOctreeOverride (Inherited from ObjectInSpace.)
Public propertySpaceBoundsOverride (Inherited from ObjectInSpace.)
Public propertySpecialEffects
Specifies settings for special object effects, such as an outline effect.
(Inherited from MeshInSpace.)
Public propertyStatic
Whether to enable a static mode which improves rendering speed. Internally static objects are grouped into batches.
(Inherited from MeshInSpace.)
Public propertyStaticShadows
Whether to allow static shadow optimization for this object.
(Inherited from MeshInSpace.)
Public propertyTransform
The position, rotation and scale of the object.
(Inherited from ObjectInSpace.)
Public propertyTransformV
Simplier form of Transform.Value.
(Inherited from ObjectInSpace.)
Public propertyTransformVisualOverride (Inherited from MeshInSpace.)
Public propertyTypeCached
Public propertyTypeSettingsPrivateObjects
Object settings when used as a type.
(Inherited from Component.)
Public propertyUV
UV texture coordinates.
(Inherited from Sprite.)
Public propertyVisibilityDistanceFactor
The factor of maximum visibility distance. The maximum distance is calculated based on the size of the object on the screen.
(Inherited from MeshInSpace.)
Public propertyVisible
Whether the object is visible in the scene.
(Inherited from ObjectInSpace.)
Public propertyVisibleInHierarchy (Inherited from ObjectInSpace.)
Public propertyWeaponType
The type of the weapon.
Top
See Also