IPortal |
Returns the haunches from the given positions
Namespace: TSD.API.Remoting.PortalFrames
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
Syntax
Task<IEnumerable<IHaunch>> GetHaunchAsync( IEnumerable<(PortalFrameRafterPosition Position, EdgeEnd End)>? positions = null, CancellationToken cancellationToken = default )
Parameters
- positions IEnumerableValueTuplePortalFrameRafterPosition, EdgeEnd (Optional)
- The optional collection of the positions
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskIEnumerableIHaunchHaunches from the specified positions
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if there is no active haunch at the position |
Remarks
Returns all active haunches if positions are not specified
See Also