SceneFilterInput Struct

What a primitive of a SceneFilterGraph reads, as the SVG in and in2 attributes.

public readonly struct SceneFilterInput : IEquatable<SceneFilterInput>
Implements

Properties

NameDescription
KindGets what the input reads.
PreviousGets the result of the primitive before, or the drawing of the element for the first primitive. This is the default value.
ResultIndexGets the index of the primitive whose result is read, when SceneFilterInput.Kind is SceneFilterInputKind.Result; 0 otherwise.
SourceAlphaGets the alpha of the drawing of the element.
SourceGraphicGets the drawing of the element.

Gets what the input reads.

public SceneFilterInputKind Kind { get; }

Property value

SceneFilterInputKind

Gets the result of the primitive before, or the drawing of the element for the first primitive. This is the default value.

public static SceneFilterInput Previous { get; }

Property value

SceneFilterInput

Gets the index of the primitive whose result is read, when SceneFilterInput.Kind is SceneFilterInputKind.Result; 0 otherwise.

public int ResultIndex { get; }

Property value

int

Gets the alpha of the drawing of the element.

public static SceneFilterInput SourceAlpha { get; }

Property value

SceneFilterInput

SourceGraphic

SceneFilterInput.cs

Gets the drawing of the element.

public static SceneFilterInput SourceGraphic { get; }

Property value

SceneFilterInput

Methods

NameDescription
Equals(SceneFilterInput)
Equals(object)
GetHashCode()
Result(int)Gets the result of an earlier primitive of the graph.
ToString()

Equals overloads

Equals(SceneFilterInput)

public bool Equals(SceneFilterInput other)
Parameters
other SceneFilterInput
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object obj)
Parameters
obj object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

Gets the result of an earlier primitive of the graph.

public static SceneFilterInput Result(int index)

Parameters

index int
The index of the primitive in SceneFilterGraph.Primitives: it must be before the primitive that reads it.

Returns

SceneFilterInput The input.

Exceptions

ArgumentOutOfRangeException
index is negative.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(SceneFilterInput, SceneFilterInput)
operator !=(SceneFilterInput, SceneFilterInput)

operator ==(SceneFilterInput, SceneFilterInput)

public static bool operator ==(SceneFilterInput left, SceneFilterInput right)

Parameters

left SceneFilterInput
right SceneFilterInput

Returns

bool

No documentation is available.

operator !=(SceneFilterInput, SceneFilterInput)

public static bool operator !=(SceneFilterInput left, SceneFilterInput right)

Parameters

left SceneFilterInput
right SceneFilterInput

Returns

bool

No documentation is available.