Class HammerEntities.HammerEntity.Sphere
Namespace: ValveResourceFormat.Renderer.Editor.Entities
Assembly: Renderer.dll
A sphere whose radius is a keyvalue.
csharp
public record HammerEntities.HammerEntity.Sphere : IEquatable<HammerEntities.HammerEntity.Sphere>Inheritance
object ← HammerEntities.HammerEntity.Sphere
Implements
IEquatable<HammerEntities.HammerEntity.Sphere>
Constructors
Sphere(string, Color32, bool, string?)
A sphere whose radius is a keyvalue.
csharp
public Sphere(string RadiusKey, Color32 Color, bool Lean = false, string? EdgeFadeKey = null)Parameters
RadiusKey string
Property holding the radius.
Color Color32
Sphere color.
Lean bool
Drawn as three circles rather than rings and meridians.
EdgeFadeKey string?
Optional property holding how far in from the radius the influence fades.
Properties
Color
Sphere color.
csharp
public Color32 Color { get; init; }Property Value
EdgeFadeKey
Optional property holding how far in from the radius the influence fades.
csharp
public string? EdgeFadeKey { get; init; }Property Value
string?
Lean
Drawn as three circles rather than rings and meridians.
csharp
public bool Lean { get; init; }Property Value
bool
RadiusKey
Property holding the radius.
csharp
public string RadiusKey { get; init; }Property Value
string

