Class PackInPart
- Namespace
- SkyrimForge.Game
- Assembly
- SkyrimForge.Game.dll
One object of a PackIn.
public sealed class PackInPart
- Inheritance
-
PackInPart
- Inherited Members
Constructors
PackInPart(FormId<TESBoundObject>, float, float, float)
One object of a PackIn.
public PackInPart(FormId<TESBoundObject> baseObjectId, float eastOffset, float northOffset, float span)
Parameters
baseObjectIdFormId<TESBoundObject>The object's base.
eastOffsetfloatThe object's offset east of the origin, in units.
northOffsetfloatThe object's offset north of the origin, in units.
spanfloatThe width across which the object is tilted to the terrain.
Properties
BaseObjectId
The object's base.
public FormId<TESBoundObject> BaseObjectId { get; }
Property Value
EastOffset
The object's offset east of the origin, in units.
public float EastOffset { get; }
Property Value
MaximumTilt
The steepest ground tilt, in degrees across Span, on which the object is placed. Null places it on any ground.
public float? MaximumTilt { get; init; }
Property Value
Remarks
The tilt is measured on the collision surface, which is a rock, a bridge, or a floor where one lies over the terrain, and the object is tilted to the terrain. The object is not placed where the tilt cannot be measured.
NorthOffset
The object's offset north of the origin, in units.
public float NorthOffset { get; }
Property Value
Span
The width across which the object is tilted to the terrain.
public float Span { get; }
Property Value
Yaw
The object's heading in degrees, 0 by default. Null selects a random heading at each placement.
public float? Yaw { get; init; }