Show / Hide Table of Contents

Interface IMyDistanceToLockedTarget

Describes distance to locked target interface for block, which is able to target lock

Namespace: Sandbox.ModAPI
Assembly: Sandbox.Common.dll
Syntax
public interface IMyDistanceToLockedTarget

Properties

DistanceToLockedTarget

Gets distance to locked target in meters

Declaration
float DistanceToLockedTarget { get; }
Property Value
Type Description
System.Single

Entity

Gets the entity of this interface entity component

Declaration
IMyEntity Entity { get; }
Property Value
Type Description
IMyEntity

Events

DistanceToLockedTargetChanged

Event distance to locked target is changed (block, old value, new value)

Declaration
event Action<IMyDistanceToLockedTarget, float, float> DistanceToLockedTargetChanged
Event Type
Type Description
System.Action<IMyDistanceToLockedTarget, System.Single, System.Single>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾