ModelTextureSlot

ModelValueReferences
[TypeName("Texture Slot")] [TypeDescription("Texture slot used in material definitions")] public sealed class ModelTextureSlot : ModelValue
Represents a composite texture slot used in material definitions.

Constructors

ModelTextureSlot

#
public ModelTextureSlot()

ModelTextureSlot

#
public ModelTextureSlot(Attributes attributes)
attributes (ModelTextureSlot.Attributes)

ModelTextureSlot

#
public ModelTextureSlot(RenderContent renderContent, string slotName)
renderContent (RenderContent)
slotName (string)

Properties

Amount

#
public double? Amount { get; }

Color

#
public Color4f? Color { get; }

DisplayName

#
[Browsable(false)] public override string DisplayName { get; }

Enabled

#
public bool? Enabled { get; }

IsValid

[Browsable(false)] public virtual bool IsValid { get; }
inherited fromModelValue
IsValid

IsValidWhyNot

protected virtual string IsValidWhyNot { get; }
inherited fromModelValue
IsValidWhyNot

Number

#
public double? Number { get; }

Texture

#
public ModelRenderTexture Texture { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelValue
TypeDescription

TypeName

[Browsable(false)] public virtual string TypeName { get; }
inherited fromModelValue
TypeName

Methods

Cast

#
public static ModelTextureSlot Cast(object source)
source (object)

CastTo<T>

#
public override bool CastTo<T>(ref T target)
target (ref T)

Clone

protected virtual object Clone()
inherited fromModelValue

Read

#
protected internal override bool Read(GH_IReader reader)
reader (GH_IReader)
ModelValue.Read

ScriptVariable

#
protected internal override object ScriptVariable()

ToAttributes

#
public ModelTextureSlot.Attributes ToAttributes()

TooltipString

public virtual string TooltipString()
inherited fromModelValue
ToString

ToString

public override string ToString()
inherited fromModelValue
Object.ToString

Write

#
protected internal override bool Write(GH_IWriter writer)
writer (GH_IWriter)
ModelValue.Write

Convertors

OperationResultDescription
implicitModelTextureSlot.AttributesModelTextureSlot