Class Foam
Last update: 16.07.2025Namespace: VM.Managed.Material
Assembly: VMObjBase.dll
This class is to represent foam material.
public class Foam : MaterialBase, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IMaterial, ITemplateObject, IArgument
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IMaterial, ITemplateObject, IArgument
Inherited Members
MaterialBase.Initialize(Unit.ConvertFactor),
MaterialBase.LinkRequestUpdate(object, LinkEventArgs),
MaterialBase.SetID(uint),
MaterialBase.WriteTemplateImpl(XmlWriter),
MaterialBase.ReadTemplateImpl(XmlReader),
MaterialBase.Density,
MaterialBase.DensityValue,
MaterialBase.Index,
MaterialBase.ReferenceType,
MaterialBase.ArgumentType,
SubEntity.Initialize(Unit.ConvertFactor),
SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
SubEntity.FixUp(ObjectBase),
SubEntity.WriteTemplateImpl(XmlWriter),
SubEntity.ReadTemplateImpl(XmlReader),
SubEntity.Name,
SubEntity.FullName,
SubEntity.NonSymmetricName,
SubEntity.DisplayName,
SubEntity.IsEnabled,
SubEntity.Comment,
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Foam()
Initializes a new instance of the
public Foam()
Foam(string)
Initializes a new instance of the
public Foam(string strName)
Parameters
strName string
Name of the foam material.
Properties
DampingRatio
Gets or sets the damping ratio.
public ExpressionValueVariable DampingRatio { get; set; }
Property Value
ExpressionValueVariable
DisableHScaleFactor
Gets or sets a value indicating whether [disable H scale factor]. Use SetDisableHScaleFactor() when this instance sets for undo/redo
public bool DisableHScaleFactor { get; set; }
Property Value
Spline
Gets or sets the spline.
public ISpline Spline { get; set; }
Property Value
ISpline
YModulus
Gets or sets the Y modulus.
public ExpressionValueVariable YModulus { get; set; }
Property Value
ExpressionValueVariable
_Spline
Gets or sets the spline.
public Linker<ispline> _Spline { get; set; }
Property Value
Linker
Methods
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
ReadTemplateImpl(XmlReader)
Reads the template document [implementation].
protected override void ReadTemplateImpl(XmlReader reader)
Parameters
reader XmlReader
The reader.
SetDisableHScaleFactor(bool)
Set [disable Hscale] factor.
public void SetDisableHScaleFactor(bool bFactor)
Parameters
bFactor bool
The [disable Hscale] factor.
WriteTemplateImpl(XmlWriter)
Writes the template document [implementation].
protected override void WriteTemplateImpl(XmlWriter writer)
Parameters
writer XmlWriter
The writer.