Entity systemClasses
CFuncRotator
Schema class CFuncRotator, derived from CBaseModelEntity.
Generated from the game's schema. Header: source2mod/schema/entity/classes/CFuncRotator.h
Inherits CBaseModelEntity
Fields
| Field | Type |
|---|---|
m_eRotateType | CFuncRotator__Rotate_t |
m_bIsRotating | bool |
m_eSolidType | SolidType_t |
m_flSpeed | float |
m_flRotationDistanceDegrees | float |
m_flTimeToCompleteRotation | float |
m_hRotatorTarget | CHandle<CBaseEntity> |
m_strRotatorTarget | CUtlSymbolLarge |
m_OnRotationStarted | CEntityIOOutput |
m_OnRotationCompleted | CEntityIOOutput |
m_OnOscillate | CEntityIOOutput |
m_OnOscillateStartArrive | CEntityIOOutput |
m_OnOscillateStartDepart | CEntityIOOutput |
m_OnOscillateEndArrive | CEntityIOOutput |
m_OnOscillateEndDepart | CEntityIOOutput |
m_nTickRotateRan | int32_t |
m_bStartedRotating | bool |
m_rotationSummary | FuncRotatorRotationSummary_t |
m_flTimeToReachMaxSpeed | float |
m_flTimeToReachZeroSpeed | float |
m_flTimeRotationStart | float |
m_flTimeRotationStop | float |
m_flStartSpeed | float |
m_qSpawnOrientation | Quaternion |
m_bReturningToInitialRotation | bool |
m_flMinYawRotation | float |
m_flMaxYawRotation | float |
m_bOscillationFromStart | bool |
m_iszStartSound | CGameSoundEventName |
m_iszLoopSound | CGameSoundEventName |
m_iszStopSound | CGameSoundEventName |
m_flTargetAngle | float |
m_flCurrentAngle | float |
m_eRotationAxis | CFuncRotator__RotationAxis_t |
m_flSpeedDriftFromOverRotate | float |
m_bQueueStop | bool |
Schema fields are accessors: read with entity->m_field(), write with entity->m_field = value (the write marks the field for networking).