Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Sandbox.Game.Weapons.MyProjectile Class Reference

Public Member Functions

 MyProjectile ()
 
void Start (MyProjectileAmmoDefinition ammoDefinition, MyEntity[] ignoreEntities, Vector3D origin, Vector3 initialVelocity, Vector3 directionNormalized, MyEntity weapon)
 
bool Update ()
 
void Draw ()
 
void Close ()
 

Static Public Member Functions

static void ApplyProjectileForce (IMyEntity entity, Vector3D intersectionPosition, Vector3 normalizedDirection, bool isPlayerShip, float impulse)
 

Public Attributes

float LengthMultiplier = 1
 
MyEntity OwnerEntity = null
 
MyEntity OwnerEntityAbsolute = null
 

Detailed Description

Definition at line 48 of file MyProjectile.cs.

Constructor & Destructor Documentation

Sandbox.Game.Weapons.MyProjectile.MyProjectile ( )
inline

Definition at line 100 of file MyProjectile.cs.

Member Function Documentation

static void Sandbox.Game.Weapons.MyProjectile.ApplyProjectileForce ( IMyEntity  entity,
Vector3D  intersectionPosition,
Vector3  normalizedDirection,
bool  isPlayerShip,
float  impulse 
)
inlinestatic

Definition at line 666 of file MyProjectile.cs.

void Sandbox.Game.Weapons.MyProjectile.Close ( )
inline

Definition at line 751 of file MyProjectile.cs.

void Sandbox.Game.Weapons.MyProjectile.Draw ( )
inline

Definition at line 680 of file MyProjectile.cs.

void Sandbox.Game.Weapons.MyProjectile.Start ( MyProjectileAmmoDefinition  ammoDefinition,
MyEntity[]  ignoreEntities,
Vector3D  origin,
Vector3  initialVelocity,
Vector3  directionNormalized,
MyEntity  weapon 
)
inline

Definition at line 107 of file MyProjectile.cs.

bool Sandbox.Game.Weapons.MyProjectile.Update ( )
inline

Definition at line 182 of file MyProjectile.cs.

Member Data Documentation

float Sandbox.Game.Weapons.MyProjectile.LengthMultiplier = 1

Definition at line 79 of file MyProjectile.cs.

MyEntity Sandbox.Game.Weapons.MyProjectile.OwnerEntity = null

Definition at line 84 of file MyProjectile.cs.

MyEntity Sandbox.Game.Weapons.MyProjectile.OwnerEntityAbsolute = null

Definition at line 85 of file MyProjectile.cs.


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