17#include <vrfobjparam/humanGunActuatorDescriptor.h>
74 virtual DtString
type()
const override;
81 virtual DtComponentDescriptor*
clone(DtReaderWriterRegistry* parentRegistry = NULL)
const override;
virtual DtReal maxRange() const
Gets the maximum range of the weapon.
DtVreHumanGunActuatorDescriptor()
Default constructor (not implemented)
virtual ~DtVreHumanGunActuatorDescriptor() override
Virtual destructor.
static DtComponentDescriptor * creator()
Factory function to create a new instance of this descriptor.
virtual void setRecoilOffset(const DtVector &muzzleOffset)
Sets the recoil offset vector.
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const override
Creates a clone of this descriptor.
virtual const DtVector & recoilOffset() const
Gets the recoil offset vector.
virtual DtInt16 burstPerTrigger() const
Gets the number of rounds per trigger pull.
DtRwInt myBurstPerTrigger
Number of bullets fired per trigger pull.
Definition vreHumanGunActuatorDescriptor.h:162
DtVreHumanGunActuatorDescriptor(const DtVreHumanGunActuatorDescriptor &orig, DtReaderWriterRegistry *parentRegistry=NULL)
Copy constructor.
DtVreHumanGunActuatorDescriptor(const DtSymbolString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Constructor with component name as symbol string.
virtual void setMaxRange(DtReal maxRange)
Sets the maximum range of the weapon.
DtRwOffsetVector myRecoilOffset
Recoil offset vector for weapon orientation during rapid fire.
Definition vreHumanGunActuatorDescriptor.h:175
DtVreHumanGunActuatorDescriptor & operator=(const DtVreHumanGunActuatorDescriptor &orig)
Assignment operator.
DtRwReal myMaxRange
Maximum range of the weapon in meters.
Definition vreHumanGunActuatorDescriptor.h:153
virtual DtString type() const override
Gets the type identifier for this descriptor.
virtual bool isRecoilOffsetSpecified() const
Checks if recoil offset is specified.
DtVreHumanGunActuatorDescriptor(const DtString &name, DtReaderWriterRegistry *parentRegistry=NULL)
Constructor with component name.
virtual void setBurstPerTrigger(DtInt16 rounds)
Sets the number of rounds per trigger pull.
Export macros for the VREngage Object Parameter library.
#define VREVRFOBJPARAM_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char DtVreHumanGunActuatorDescriptorType[]
Type identifier string for the human gun actuator descriptor.
Definition vreHumanGunActuatorDescriptor.h:23