Class World
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents a world resource.
csharp
public class World : KeyValuesOrNTROInheritance
object ← Block ← KeyValuesOrNTRO ← World
Inherited Members
KeyValuesOrNTRO.Type, KeyValuesOrNTRO.Data, KeyValuesOrNTRO.Format, KeyValuesOrNTRO.Read(BinaryReader), KeyValuesOrNTRO.Serialize(Stream), KeyValuesOrNTRO.WriteText(IndentedTextWriter), Block.Type, Block.Offset, Block.Size, Block.Resource, Block.Read(BinaryReader), Block.ToString(), Block.WriteText(IndentedTextWriter), Block.Serialize(Stream)
Extension Methods
ResourceDataExtensions.AsKeyValueCollection(Block)
Methods
GetEntityLumpNames()
Gets the entity lump names.
csharp
public IReadOnlyCollection<string> GetEntityLumpNames()Returns
GetLightmapUvScale()
Gets the scale to apply to lightmap UVs when sampling lightmaps, when not applicable.
csharp
public Vector2 GetLightmapUvScale()Returns
GetWorldLightingInfo()
Gets the world lighting information.
csharp
public KVObject GetWorldLightingInfo()Returns
KVObject
GetWorldNodeNames()
Gets the world node names.
csharp
public IReadOnlyCollection<string> GetWorldNodeNames()
