LIGH Record – Light
LIGH record type.
Classes:
|
Light. |
-
class
LIGH(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordLight.
- Parameters
Classes:
DATA(time, radius, color, flags, ...)Data.
FNAM(*args, **kwargs)Fade value.
FULL([cstring])Name.
ICON([cstring])Large icon filename.
MICO([cstring])Small icon filename.
SCRI([cstring])Script.
SNAM([cstring])Sound.
Attributes:
Subrecords of this record.
Record flags
4-byte form ID
Used for revision control by the Creation Kit, if enabled.
Form version
Methods:
parse_subrecords(raw_bytes)Parse this record's subrecords.
-
class
DATA(time, radius, color, flags, falloff_exponent, fov, value, weight)[source] Bases:
StructRecordData.
- Parameters
Attributes:
4 bytes of RGBA
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
class
FNAM(*args, **kwargs)[source] Bases:
Float32RecordFade value.
-
class
SCRI(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordScript.
Form ID of a
SCPTrecord.
-
class
SNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound.
Form ID of a
SOUNrecord.
-
data Type:
List[RecordType]