static public bool Displayed(this IDrawTask draw, IDrawer drawer = null, IDrawClient drawClient = null, ISceneNode sceneRoot = null) { return(draw.Rendered && (drawer == null || (sceneRoot == null || drawer.DrawPredicate(sceneRoot)) && (draw.DrawPredicate == null || draw.DrawPredicate(drawer))) && (drawClient == null || draw.DrawClientFilter == null || draw.DrawClientFilter.Filter(drawClient))); }
public Arguments(TValue initialValue, IVertexBase target, bool raycasting, IDrawClient raycastClient, GraphDirections directions, int depthMax, int viewDepthMax) { Value = initialValue; Target = target; Raycasting = raycasting; Directions = directions; DepthMax = depthMax; ViewDepthMax = viewDepthMax; RaycastClient = raycastClient; TransformerPath = new Stack <ITransformer>(); ViewDepths = new Dictionary <ViewVertex, int>(); }
IOptionsController <TValue> IRaycastController <TValue> .ForDrawClient(IDrawClient drawClient) { RaycastClient = drawClient; return(this); }