Class HammerEntities.HammerEntity.Box
Namespace: ValveResourceFormat.Renderer.Editor.Entities
Assembly: Renderer.dll
A box given by mins and maxs keyvalues, or by a size centered on the origin.
public record HammerEntities.HammerEntity.Box : IEquatable<HammerEntities.HammerEntity.Box>Inheritance
object ← HammerEntities.HammerEntity.Box
Implements
IEquatable<HammerEntities.HammerEntity.Box>
Constructors
Box(BoxSpace, string?, string?, string?, string?, string?, bool)
A box given by mins and maxs keyvalues, or by a size centered on the origin.
public Box(HammerEntities.HammerEntity.BoxSpace Space, string? MinsKey = null, string? MaxsKey = null, string? SizeKey = null, string? EdgeFadesKey = null, string? EdgeFadeKey = null, bool Wire = false)Parameters
Space HammerEntities.HammerEntity.BoxSpace
What the box is relative to.
MinsKey string?
Property holding the minimum corner.
MaxsKey string?
Property holding the maximum corner.
SizeKey string?
Property holding the size of a box centered on the origin, in place of mins and maxs.
EdgeFadesKey string?
Optional property holding how far in from each side the influence fades.
EdgeFadeKey string?
Optional property holding one fade distance for every side.
Wire bool
Drawn as plain edges, without the tinted faces of a volume.
Properties
EdgeFadeKey
Optional property holding one fade distance for every side.
public string? EdgeFadeKey { get; init; }Property Value
string?
EdgeFadesKey
Optional property holding how far in from each side the influence fades.
public string? EdgeFadesKey { get; init; }Property Value
string?
MaxsKey
Property holding the maximum corner.
public string? MaxsKey { get; init; }Property Value
string?
MinsKey
Property holding the minimum corner.
public string? MinsKey { get; init; }Property Value
string?
SizeKey
Property holding the size of a box centered on the origin, in place of mins and maxs.
public string? SizeKey { get; init; }Property Value
string?
Space
What the box is relative to.
public HammerEntities.HammerEntity.BoxSpace Space { get; init; }Property Value
HammerEntities.HammerEntity.BoxSpace
Wire
Drawn as plain edges, without the tinted faces of a volume.
public bool Wire { get; init; }Property Value
bool

