Struct PluginProjectileDebugSample
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
One step of the simulated flight, for drawing the path while debugging.
public readonly record struct PluginProjectileDebugSample : IEquatable<PluginProjectileDebugSample>
- Implements
- Inherited Members
Constructors
PluginProjectileDebugSample(Vector3, bool, float)
One step of the simulated flight, for drawing the path while debugging.
public PluginProjectileDebugSample(Vector3 WorldPosition, bool IsClear, float Radius)
Parameters
WorldPositionVector3Where the step ended, in world meters.
IsClearboolTrue when the step passed unobstructed or landed on the intended target; false at the step that was stopped by something else.
RadiusfloatThe probe sphere's radius in meters.
Properties
IsClear
True when the step passed unobstructed or landed on the intended target; false at the step that was stopped by something else.
public bool IsClear { get; init; }
Property Value
Radius
The probe sphere's radius in meters.
public float Radius { get; init; }
Property Value
WorldPosition
Where the step ended, in world meters.
public Vector3 WorldPosition { get; init; }