|
Enfusion Script API
|
Input&Output structure for collision tests. More...
Public Member Functions | |
| proto external bool | IsRunning () |
Public Member Functions inherited from Managed | |
| proto external ref Managed | Clone () |
| Return shallow copy of object, or null if it is not allowed (not public constructor) | |
Public Attributes | |
| vector | Start |
| Start position from where we trace. | |
| vector | End |
| End position to where we trace. | |
| int | LayerMask = 0xffffffff |
| Bitmask of layer(s) representing the traced object. The interaction matrix is used to determine whether an object can be traced. | |
| int | TargetLayers = 0 |
| Bitmask of layers to trace. Not used if 0, otherwise it overrides LayerMask. | |
| TraceFlags | Flags |
| IEntity | Exclude |
| Use either Exclude or ExcludeArray. Never both, it has some performance penalty. | |
| array< IEntity > | ExcludeArray |
| IEntity | Include |
| Use either Include or IncludeArray. Never both, it has some performance penalty. | |
| array< IEntity > | IncludeArray |
| Include only these entities. | |
| IEntity | TraceEnt |
| [out] traced entity | |
| vector | TraceNorm |
| [out] traced polygon normal (X,Y,Z) | |
| float | TraceDist |
| [out] traced polygon plane distace | |
| int | NodeIndex |
| [out] bone associated with traced collider | |
| int | ColliderIndex |
| [out] trace collider index | |
| SurfaceProperties | SurfaceProps |
| [out] traced surface properties | |
| owned string | TraceMaterial |
| [out] traced surface material (usualy only on terrain) | |
| owned string | ColliderName |
| [out] traced collider name | |
Input&Output structure for collision tests.
| proto external bool TraceParam.IsRunning | ( | ) |
| int TraceParam.ColliderIndex |
[out] trace collider index
| owned string TraceParam.ColliderName |
[out] traced collider name
| vector TraceParam.End |
End position to where we trace.
| IEntity TraceParam.Exclude |
Use either Exclude or ExcludeArray. Never both, it has some performance penalty.
| array<IEntity> TraceParam.ExcludeArray |
| TraceFlags TraceParam.Flags |
| IEntity TraceParam.Include |
Use either Include or IncludeArray. Never both, it has some performance penalty.
| array<IEntity> TraceParam.IncludeArray |
Include only these entities.
| int TraceParam.LayerMask = 0xffffffff |
Bitmask of layer(s) representing the traced object. The interaction matrix is used to determine whether an object can be traced.
| int TraceParam.NodeIndex |
[out] bone associated with traced collider
| vector TraceParam.Start |
Start position from where we trace.
| SurfaceProperties TraceParam.SurfaceProps |
[out] traced surface properties
| int TraceParam.TargetLayers = 0 |
Bitmask of layers to trace. Not used if 0, otherwise it overrides LayerMask.
| float TraceParam.TraceDist |
[out] traced polygon plane distace
| IEntity TraceParam.TraceEnt |
[out] traced entity
| owned string TraceParam.TraceMaterial |
[out] traced surface material (usualy only on terrain)
| vector TraceParam.TraceNorm |
[out] traced polygon normal (X,Y,Z)