Class SkyCameraVolumeTarget
Namespace: ValveResourceFormat.Renderer.Entities
Assembly: Renderer.dll
sky_camera_volume_target. The point in the map a SkyCameraVolume draws the 3D sky from. Its origin is read every frame, so parenting it to a mover makes the sky travel.
public sealed class SkyCameraVolumeTarget : BaseEntityInheritance
object ← BaseEntity ← SkyCameraVolumeTarget
Inherited Members
BaseEntity.Scene, BaseEntity.RootNode, BaseEntity.Transform, BaseEntity.RigidTransform, BaseEntity.LayerName, BaseEntity.EntitySystem, BaseEntity.Data, BaseEntity.SpawnData, BaseEntity.NameFixup, BaseEntity.SpawnGroup, BaseEntity.Classname, BaseEntity.TargetName, BaseEntity.SpawnFlags, BaseEntity.SpawnTransform, BaseEntity.Owner, BaseEntity.MoveParent, BaseEntity.EntityScale, BaseEntity.ModelName, BaseEntity.Origin, BaseEntity.Angles, BaseEntity.WorldOrigin, BaseEntity.WorldAngles, BaseEntity.Velocity, BaseEntity.AngularVelocity, BaseEntity.NextThink, BaseEntity.MoveDoneTime, BaseEntity.IsRemoved, BaseEntity.Collider, BaseEntity.IsSolid, BaseEntity.IsTrigger, BaseEntity.IsDrawn, BaseEntity.IsShown, BaseEntity.IsCollidable, BaseEntity.TouchingEntities, BaseEntity.HasSpawnFlags<TSpawnFlags>(TSpawnFlags), BaseEntity.Spawn(), BaseEntity.Activate(), BaseEntity.Think(), BaseEntity.RoundStart(), BaseEntity.MoveDone(), BaseEntity.TryGetTouchBounds(out Vector3, out Vector3), BaseEntity.ObjectCaps, BaseEntity.Use(BaseEntity?), BaseEntity.Teleport(Vector3, Vector3?), BaseEntity.AcceptInput(string, EntityInputData), BaseEntity.SetNextThink(float), BaseEntity.SetMoveDoneTime(float), BaseEntity.GetSurfaceVelocity(Vector3), BaseEntity.AngleMod(float)
Constructors
SkyCameraVolumeTarget(EntitySystem, EntitySpawnInfo)
Initializes a sky_camera_volume_target from its keyvalues.
public SkyCameraVolumeTarget(EntitySystem system, EntitySpawnInfo spawnInfo)Parameters
system EntitySystem
spawnInfo EntitySpawnInfo
Properties
SkyMaterialName
Gets the material that replaces the map's 2D sky while this target is in use, if any.
public string? SkyMaterialName { get; }Property Value
string?
SkyScale
Gets how many world units one unit around the target stands for; zero or less disables the sky.
public int SkyScale { get; }Property Value
int
Methods
Spawn()
Sets up the entity (model, class keyvalues, first think). Called by EntityFactory right after construction, before the entity enters the world.
public override void Spawn()
