Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_PowerLineJointEntity Interface Reference
Inheritance diagram for SCR_PowerLineJointEntity:
[legend]

Public Member Functions

bool GetJoint ()
 
void OnChildMoved ()
 
void GenerateCurve ()
 
void GetPivots ()
 
void DrawDebugShape ()
 
void DrawDebugShapePivots ()
 
void ModifyShape (float timeSlice)
 
void DrawDebug (float timeSlice)
 
override bool _WB_OnKeyChanged (BaseContainer src, string key, BaseContainerList ownerContainers, IEntity parent)
 
override void _WB_AfterWorldUpdate (float timeSlice)
 
void SCR_PowerLineJointEntity (IEntitySource src, IEntity parent)
 

Protected Attributes

float m_fSagInMeters
 
float m_AngleRad
 
float m_MovementSpeed
 
vector m_aDebugLine [POINTS]
 
vector m_aDebugLinePivots [POINTS]
 
vector m_vDirectionLevelNorm
 
vector m_vConnectedJointPos
 
ref array< vector > m_aCurve = {}
 
ref array< vector > m_aCurvePivots = {}
 
ref array< ref Shape > m_aShapes = {}
 
float m_fTimeAccu
 

Static Protected Attributes

static const int SEGMENTS = 64
 
static const int POINTS = SEGMENTS + 1
 

Constructor & Destructor Documentation

◆ SCR_PowerLineJointEntity()

void SCR_PowerLineJointEntity.SCR_PowerLineJointEntity ( IEntitySource  src,
IEntity  parent 
)

Member Function Documentation

◆ _WB_AfterWorldUpdate()

override void SCR_PowerLineJointEntity._WB_AfterWorldUpdate ( float  timeSlice)

◆ _WB_OnKeyChanged()

override bool SCR_PowerLineJointEntity._WB_OnKeyChanged ( BaseContainer  src,
string  key,
BaseContainerList  ownerContainers,
IEntity  parent 
)

◆ DrawDebug()

void SCR_PowerLineJointEntity.DrawDebug ( float  timeSlice)

◆ DrawDebugShape()

void SCR_PowerLineJointEntity.DrawDebugShape ( )

◆ DrawDebugShapePivots()

void SCR_PowerLineJointEntity.DrawDebugShapePivots ( )

◆ GenerateCurve()

void SCR_PowerLineJointEntity.GenerateCurve ( )

◆ GetJoint()

bool SCR_PowerLineJointEntity.GetJoint ( )

◆ GetPivots()

void SCR_PowerLineJointEntity.GetPivots ( )

◆ ModifyShape()

void SCR_PowerLineJointEntity.ModifyShape ( float  timeSlice)

◆ OnChildMoved()

void SCR_PowerLineJointEntity.OnChildMoved ( )

Member Data Documentation

◆ m_aCurve

ref array<vector> SCR_PowerLineJointEntity.m_aCurve = {}
protected

◆ m_aCurvePivots

ref array<vector> SCR_PowerLineJointEntity.m_aCurvePivots = {}
protected

◆ m_aDebugLine

vector SCR_PowerLineJointEntity.m_aDebugLine[POINTS]
protected

◆ m_aDebugLinePivots

vector SCR_PowerLineJointEntity.m_aDebugLinePivots[POINTS]
protected

◆ m_AngleRad

float SCR_PowerLineJointEntity.m_AngleRad
protected

◆ m_aShapes

ref array<ref Shape> SCR_PowerLineJointEntity.m_aShapes = {}
protected

◆ m_fSagInMeters

float SCR_PowerLineJointEntity.m_fSagInMeters
protected

◆ m_fTimeAccu

float SCR_PowerLineJointEntity.m_fTimeAccu
protected

◆ m_MovementSpeed

float SCR_PowerLineJointEntity.m_MovementSpeed
protected

◆ m_vConnectedJointPos

vector SCR_PowerLineJointEntity.m_vConnectedJointPos
protected

◆ m_vDirectionLevelNorm

vector SCR_PowerLineJointEntity.m_vDirectionLevelNorm
protected

◆ POINTS

const int SCR_PowerLineJointEntity.POINTS = SEGMENTS + 1
staticprotected

◆ SEGMENTS

const int SCR_PowerLineJointEntity.SEGMENTS = 64
staticprotected

The documentation for this interface was generated from the following file: