C# Class vke.glTF.glTFLoader.Material

Material class used by the gltfLoader to fetch values.
Show file Open project: jpbruyere/vke.net

Public Properties

Property Type Description
Name string
alphaCutoff float
alphaMode AlphaMode
availableAttachments AttachmentType
availableAttachments1 AttachmentType
baseColorFactor Vector4
baseColorTexture Int32
emissiveFactor Vector4
emissiveTexture Int32
metallicFactor float
metallicRoughness bool
metallicRoughnessTexture Int32
normalTexture Int32
occlusionTexture Int32
roughnessFactor float
specularGlossiness bool
workflow Workflow

Public Methods

Method Description
Material ( Int32 _baseColorTexture = -1, Int32 _metallicRoughnessTexture = -1, Int32 _normalTexture = -1, Int32 _occlusionTexture = -1 ) : System

Method Details

Material() public method

public Material ( Int32 _baseColorTexture = -1, Int32 _metallicRoughnessTexture = -1, Int32 _normalTexture = -1, Int32 _occlusionTexture = -1 ) : System
_baseColorTexture Int32
_metallicRoughnessTexture Int32
_normalTexture Int32
_occlusionTexture Int32
return System

Property Details

Name public property

public string Name
return string

alphaCutoff public property

public float alphaCutoff
return float

alphaMode public property

public AlphaMode alphaMode
return AlphaMode

availableAttachments public property

public AttachmentType availableAttachments
return AttachmentType

availableAttachments1 public property

public AttachmentType availableAttachments1
return AttachmentType

baseColorFactor public property

public Vector4 baseColorFactor
return Vector4

baseColorTexture public property

public Int32 baseColorTexture
return Int32

emissiveFactor public property

public Vector4 emissiveFactor
return Vector4

emissiveTexture public property

public Int32 emissiveTexture
return Int32

metallicFactor public property

public float metallicFactor
return float

metallicRoughness public property

public bool metallicRoughness
return bool

metallicRoughnessTexture public property

public Int32 metallicRoughnessTexture
return Int32

normalTexture public property

public Int32 normalTexture
return Int32

occlusionTexture public property

public Int32 occlusionTexture
return Int32

roughnessFactor public property

public float roughnessFactor
return float

specularGlossiness public property

public bool specularGlossiness
return bool

workflow public property

public Workflow workflow
return Workflow