Class DelegateFuncDisplayee
A displayee implementation that delegates display functionality to a function.
public class DelegateFuncDisplayee : IDisplayee, IExpandToBox3d
- Inheritance
-
DelegateFuncDisplayee
- Implements
- Inherited Members
- Extension Methods
Constructors
DelegateFuncDisplayee(Func<IDisplayee>)
Initializes a new instance of the DelegateFuncDisplayee class.
public DelegateFuncDisplayee(Func<IDisplayee> func)
Parameters
funcFunc<IDisplayee>The function that returns an IDisplayee instance.
Methods
Display(Bind)
Display function called in DispEngine rendering loop.
public void Display(Bind bind)
Parameters
bindBindBind with DispEngine. See Bind.
ExpandToBox3d(Box3d)
Expands the destination box. This function is usually used to compute the bounding box of elements.
public void ExpandToBox3d(Box3d dst)
Parameters
dstBox3dDestination box