Class PhysAggregateData
Namespace: ValveResourceFormat.ResourceTypes
Assembly: ValveResourceFormat.dll
Represents physics aggregate data containing collision shapes and properties.
public class PhysAggregateData : KeyValuesOrNTROInheritance
object ← Block ← KeyValuesOrNTRO ← PhysAggregateData
Inherited Members
KeyValuesOrNTRO.Type, KeyValuesOrNTRO.Data, KeyValuesOrNTRO.Read(BinaryReader), KeyValuesOrNTRO.Serialize(Stream), KeyValuesOrNTRO.WriteText(IndentedTextWriter), Block.Type, Block.Offset, Block.Size, Block.Resource, Block.Read(BinaryReader), Block.ToString(), Block.WriteText(IndentedTextWriter), Block.Serialize(Stream)
Extension Methods
ResourceDataExtensions.AsKeyValueCollection(Block)
Constructors
PhysAggregateData()
Initializes a new instance of the class.
public PhysAggregateData()PhysAggregateData(BlockType)
Initializes a new instance of the class.
public PhysAggregateData(BlockType type)Parameters
type BlockType
Properties
BindPose
Gets the bind pose transformation matrices.
public Matrix4x4[] BindPose { get; }Property Value
CollisionAttributes
Gets the collision attributes.
public IReadOnlyList<KVObject> CollisionAttributes { get; }Property Value
Flags
Gets the physics flags.
public int Flags { get; }Property Value
Parts
Gets the physics parts (shapes) in this aggregate.
public Part[] Parts { get; }Property Value
Part[]
SurfacePropertyHashes
Gets the surface property hashes for collision materials.
public uint[] SurfacePropertyHashes { get; }Property Value
uint[]

