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
BoneNames
Gets the referenced bone names.
public string[] BoneNames { get; }Property Value
string[]
BoneParents
Gets the bone parent indices for each part.
public uint[] BoneParents { get; }Property Value
uint[]
CollisionAttributes
Gets the collision attributes.
public IReadOnlyList<KVObject> CollisionAttributes { get; }Property Value
IReadOnlyList<KVObject>
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[]
Methods
GetParentBoneName(int)
Gets the parent bone name for a given physics aggregate part.
public string GetParentBoneName(int partIndex)Parameters
partIndex int
Returns
See Also
https://s2v.app/SchemaExplorer/cs2/modellib/VPhysXAggregateData_t

