Struct PickResult ​
Namespace: ValveResourceFormat.Renderer.Editor.Picking
Assembly: Renderer.dll
What a PickRequest found.
csharp
public readonly record struct PickResult : IEquatable<PickResult>Implements ​
Constructors ​
PickResult(PickRequest, PixelInfo) ​
What a PickRequest found.
csharp
public PickResult(PickRequest Request, PickingTexture.PixelInfo Pixel)Parameters ​
Request PickRequest
The request this answers.
Pixel PickingTexture.PixelInfo
The node and mesh drawn at the requested point.
Properties ​
HitNothing ​
Gets whether nothing is drawn at the requested point.
csharp
public bool HitNothing { get; }Property Value ​
bool
Intent ​
Gets the intent of the request.
csharp
public PickIntent Intent { get; }Property Value ​
Pixel ​
The node and mesh drawn at the requested point.
csharp
public PickingTexture.PixelInfo Pixel { get; init; }Property Value ​
Request ​
The request this answers.
csharp
public PickRequest Request { get; init; }Property Value ​
Methods ​
Has(PickModifiers) ​
Gets whether the given modifier keys were all held when the pick was requested.
csharp
public bool Has(PickModifiers modifiers)Parameters ​
modifiers PickModifiers
The modifiers to check.
Returns ​
bool
true when every one of modifiers was held.

