Loading...
Searching...
No Matches
realvirtual.DistanceLink Class Reference
Manages a distance-based connection for an IDistanceLink. More...
Public Member Functions | |
| DistanceLink (IDistanceLink source, DistanceLinkConfig config, Action< Component > onConnected=null, Action< Component > onDisconnected=null) | |
| void | UpdateLink () |
| Update the link (called by manager) | |
| void | SetRadiusGetter (Func< float > radiusGetter) |
| Set a dynamic radius getter. | |
| void | MarkDirty () |
| Mark the link as dirty, requiring an update. | |
| void | ForceUpdateLink () |
| Force update the link. | |
| void | Disconnect () |
| Disconnect and clean up. | |
Properties | |
| Component | ConnectedComponent [get] |
| DistanceTarget | ConnectedTarget [get] |
| IDistanceLink | Source [get] |
| DistanceLinkConfig | Config [get] |
Detailed Description
Manages a distance-based connection for an IDistanceLink.
Member Function Documentation
◆ Disconnect()
| void realvirtual.DistanceLink.Disconnect | ( | ) |
Disconnect and clean up.
◆ ForceUpdateLink()
| void realvirtual.DistanceLink.ForceUpdateLink | ( | ) |
Force update the link.
◆ MarkDirty()
| void realvirtual.DistanceLink.MarkDirty | ( | ) |
Mark the link as dirty, requiring an update.
◆ SetRadiusGetter()
| void realvirtual.DistanceLink.SetRadiusGetter | ( | Func< float > | radiusGetter | ) |
Set a dynamic radius getter.
◆ UpdateLink()
| void realvirtual.DistanceLink.UpdateLink | ( | ) |
Update the link (called by manager)