Class ModelConfigAttachedModel
Namespace: ValveResourceFormat.ResourceTypes.ModelData
Assembly: ValveResourceFormat.dll
Attaches another model to the one the config is evaluated for.
public sealed class ModelConfigAttachedModel : ModelConfigElementInheritance
object ← ModelConfigElement ← ModelConfigAttachedModel
Inherited Members
ModelConfigElement.Name, ModelConfigElement.StateKey, ModelConfigElement.NestedElements
Properties
AngleOffset
Gets the rotation of the attached model in the frame it is attached at, as a QAngle.
public Vector3 AngleOffset { get; }Property Value
AttachmentName
Gets the attachment point or bone the model is attached at, for ModelConfigAttachmentType.BoneOrAttachment.
public string AttachmentName { get; }Property Value
string
AttachmentType
Gets how the model is placed on the one it is attached to.
public ModelConfigAttachmentType AttachmentType { get; }Property Value
EntityClass
Gets the entity class the attached model is spawned as, or an empty string for the default.
public string EntityClass { get; }Property Value
string
InstanceName
Gets the name the attached model is known by, which may be empty.
public string InstanceName { get; }Property Value
string
LocalAttachmentOffsetName
Gets the attachment point of the attached model that is placed at the frame, or an empty string for its origin.
public string LocalAttachmentOffsetName { get; }Property Value
string
ModelName
Gets the model that is attached.
public string ModelName { get; }Property Value
string
Offset
Gets the position of the attached model in the frame it is attached at.
public Vector3 Offset { get; }Property Value
UserSpecifiedColor
Gets whether the entity gives the color of the attached model, as the _color of the element's name.
public bool UserSpecifiedColor { get; }Property Value
bool
UserSpecifiedMaterialGroup
Gets whether the entity gives the material group of the attached model, as the _matgrp of the element's name.
public bool UserSpecifiedMaterialGroup { get; }Property Value
bool

