Class DamageType
A DamageType is intended to define and describe a particular form of damage and to provide an avenue
for customizing responses to damage from various sources.
Inheritance
System.Object
DamageType
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class DamageType : UObject
Properties
|
Improve this Doc
View Source
bCausedByWorld
Declaration
public bool bCausedByWorld { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bRadialDamageVelChange
Declaration
public bool bRadialDamageVelChange { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bScaleMomentumByMass
Declaration
public bool bScaleMomentumByMass { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DamageFalloff
Damage fall-off for radius damage (exponent). Default 1.0=linear, 2.0=square of distance, etc.
Declaration
public float DamageFalloff { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DamageImpulse
The magnitude of impulse to apply to the Actors damaged by this type.
Declaration
public float DamageImpulse { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static DamageType DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
DestructibleDamageSpreadScale
How much the damage spreads on a destructible mesh
Declaration
public float DestructibleDamageSpreadScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DestructibleImpulse
How large the impulse should be applied to destructible meshes
Declaration
public float DestructibleImpulse { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static DamageType New(UObject obj = null, Name name = default(Name))
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to DamageType)
Convert from IntPtr to UObject
Declaration
public static implicit operator DamageType(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns