IEntityViewMask

Description

interface Tinman.Engine.Scenes.IEntityViewMask

Extended by

ISceneEntity
ISceneView

Base interface for classes that provide a bitmask that controls creation of entity views.

Public / Attributes

Entity​View​Mask


[Constant]
public attribute EntityViewMask → (get)

value : int64

The entity view bitmask.

A bitmask that controls creation of ISceneEntityView objects for ISceneEntity objects in specific ISceneView objects.

This interface is implemented by instances of the following types:

An entity view is created via ISceneEntity.CreateView only if the bitwise AND of A and B is not zero.

The bitmask must be specified at creation-time and cannot be changed later. Use ISceneObject.Enabled, ISceneEntityView.Visible and ISceneView.ViewOf to control entity views afterwards.