Class ShapeDescriptor<T>
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics
Assembly: ValveResourceFormat.dll
Base descriptor for physics shapes.
csharp
public class ShapeDescriptor<T> where T : structType Parameters
T
Inheritance
Constructors
ShapeDescriptor()
Initializes a new instance of the class.
csharp
protected ShapeDescriptor()Properties
CollisionAttributeIndex
Gets or sets the collision attribute index.
csharp
public int CollisionAttributeIndex { get; set; }Property Value
Shape
Gets or sets the shape.
csharp
public T Shape { get; set; }Property Value
T
SurfacePropertyIndex
Gets or sets the surface property index.
csharp
public int SurfacePropertyIndex { get; set; }Property Value
UserFriendlyName
Gets or sets the user-friendly name.
csharp
public string? UserFriendlyName { get; set; }Property Value
Methods
DeserializeShape(KVObject)
Deserializes the shape from a KVObject.
csharp
public virtual T DeserializeShape(KVObject data)Parameters
data KVObject
Returns
T
KV3Transfer(KVObject)
Transfers data from a KVObject.
csharp
public void KV3Transfer(KVObject data)Parameters
data KVObject

