Table of Contents

Class ShapeDescriptor<T>

Namespace
ValveResourceFormat.ResourceTypes.RubikonPhysics
Assembly
ValveResourceFormat.dll

Base descriptor for physics shapes.

public class ShapeDescriptor<T> where T : struct

Type Parameters

T

Inheritance

Inherited Members

Constructors

ShapeDescriptor()

Initializes a new instance of the ValveResourceFormat.ResourceTypes.RubikonPhysics.ShapeDescriptor`1 class.

protected ShapeDescriptor()

Properties

CollisionAttributeIndex

Gets or sets the collision attribute index.

public int CollisionAttributeIndex { get; set; }

Property Value

int

Shape

Gets or sets the shape.

public T Shape { get; set; }

Property Value

T

SurfacePropertyIndex

Gets or sets the surface property index.

public int SurfacePropertyIndex { get; set; }

Property Value

int

UserFriendlyName

Gets or sets the user-friendly name.

public string? UserFriendlyName { get; set; }

Property Value

string?

Methods

DeserializeShape(KVObject)

Deserializes the shape from a KVObject.

public virtual T DeserializeShape(KVObject data)

Parameters

data KVObject

Returns

T

KV3Transfer(KVObject)

Transfers data from a KVObject.

public void KV3Transfer(KVObject data)

Parameters

data KVObject