Skip to content

Visibility Area

skzk edited this page Aug 19, 2024 · 15 revisions

Defines a rectangular area in which, if the camera is inside it, child items are rendered differently.

Item ID: 0x30 (48)
Item file: base

Structure

Field(s) Description
struct kdop_item

See k-DOP item.

Flags:
Bits 0-1: Area behavior.
    0: "Show hidden objects" (ignores cut planes for child objects)
    1: "Hide objects" (child objects are invisible inside the area)
    2: "Show objects" (child objects are only visible inside the area)

u64 node_uid UID of the node of the item.
float half_size_x
float half_size_y
Width and height of the area in meters, divided by 2.
u32 children_count
u64 child_uid (repeated)
UIDs of the child objects of this area. Can reference both base items and aux items.
Clone this wiki locally