Table of Contents

Class ModelDataPoolLocation

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll

Contains all the data for the given model pool.

public class ModelDataPoolLocation
Inheritance
ModelDataPoolLocation
Inherited Members

Fields

CullVisible

public Bools CullVisible

Field Value

Bools

FrustumCullSphere

The culling sphere.

public Sphere FrustumCullSphere

Field Value

Sphere

FrustumVisible

Whether this model is visible or not.

public bool FrustumVisible

Field Value

bool

Hide

public bool Hide

Field Value

bool

IndicesEnd

Where the indices of the model end.

public int IndicesEnd

Field Value

int

IndicesStart

Where the indices of the model start.

public int IndicesStart

Field Value

int

LodLevel

public int LodLevel

Field Value

int

PoolId

The ID of the pool model.

public int PoolId

Field Value

int

TransitionCounter

Used for models with movements (like a door).

public int TransitionCounter

Field Value

int

VerticesEnd

Where the vertices end.

public int VerticesEnd

Field Value

int

VerticesStart

Where the vertices start.

public int VerticesStart

Field Value

int

VisibleBufIndex

public static int VisibleBufIndex

Field Value

int

Methods

IsVisible(EnumFrustumCullMode, FrustumCulling)

public bool IsVisible(EnumFrustumCullMode mode, FrustumCulling culler)

Parameters

mode EnumFrustumCullMode
culler FrustumCulling

Returns

bool