NIF Objects | Compound Types | Enum Types | Basic Types | File Versions

NiPortal

NiPortal objects are grouping nodes that support aggressive visibility culling.
They represent flat polygonal regions through which a part of a scene graph can be viewed.

Attributes

Name Type Description
From NiObject
From NiObjectNET
Skyrim Shader Type BSLightingShaderPropertyShaderType Configures the main shader path
Name string Name of this controllable object, used to refer to the object in .kf files.
Num Extra Data List uint The number of Extra Data objects referenced through the list.
Extra Data List Ref<NiExtraData> List of extra data indices.
Controller Ref<NiTimeController> Controller object index. (The first in a chain)
From NiAVObject
Flags uint Basic flags for AV objects. For Bethesda streams above 26 only.
Flags Flags Basic flags for AV objects; commonly 0x000C or 0x000A.
Translation Vector3 The translation vector.
Rotation Matrix33 The rotation part of the transformation matrix.
Scale float Scaling part (only uniform scaling is supported).
Num Properties uint
Properties Ref<NiProperty> All rendering properties attached to this object.
Collision Object Ref<NiCollisionObject>
From NiPortal
Portal Flags ushort
Plane Count ushort Unused in 20.x, possibly also 10.x.
Num Vertices ushort
Vertices Vector3
Adjoiner Ptr<NiNode> Root of the scenegraph which is to be seen through this portal.

Parent Of