TBox<T>

Namespace: UAssetAPI.UnrealTypes

Axis-aligned box collision geometry. Consists of a core AABB with a margin. The margin should be considered physically part of the * box - it pads the faces and rounds the corners.

public struct TBox<T>

Type Parameters

T

Inheritance ObjectValueTypeTBox<T>
Implements ICloneable

Fields

Min

public T Min;

Max

public T Max;

IsValid

public byte IsValid;

Constructors

TBox(T, T, Byte)

TBox(T min, T max, byte isValid)

Parameters

min T

max T

isValid Byte

TBox(AssetBinaryReader, Func<T>)

TBox(AssetBinaryReader reader, Func<T> valueReader)

Parameters

reader AssetBinaryReader

valueReader Func<T>

Methods

Write(AssetBinaryWriter, Action<T>)

int Write(AssetBinaryWriter writer, Action<T> valueWriter)

Parameters

writer AssetBinaryWriter

valueWriter Action<T>

Returns

Int32

Clone()

object Clone()

Returns

Object