T8GIStyleDTO
Index
Constructors
Properties
Methods
Constructors
constructor
Returns T8GIStyleDTO
Properties
colors
diffuseColorIndices
diffuseFactors
diffuseTransmissionColorIndices
diffuseTransmissionFactors
index
nameIndices
reflectionColorIndices
reflectionFactors
specularColorIndices
specularExponents
specularFactors
specularRoughnesses
styleNames
surfaceColorIndices
transmissionColorIndices
transmissionFactors
Methods
getDiffuseColor
Returns undefined | Uint8Array<ArrayBufferLike>
getDiffuseFactor
Returns undefined | number
getDiffuseTransmissionColor
Returns undefined | Uint8Array<ArrayBufferLike>
getDiffuseTransmissionFactor
Returns undefined | number
getName
Returns string
getReflectionColor
Returns undefined | Uint8Array<ArrayBufferLike>
getReflectionFactor
Returns undefined | number
getSpecularColor
Returns undefined | Uint8Array<ArrayBufferLike>
getSpecularExponent
Returns undefined | number
getSpecularFactor
Returns undefined | number
getSpecularRoughness
Returns undefined | number
getSurfaceColor
Returns Uint8Array<ArrayBufferLike>
getTransmissionColor
Returns undefined | Uint8Array<ArrayBufferLike>
getTransmissionFactor
Returns undefined | number
init
Parameters
styleNames: string[]
colors: Uint8Array<ArrayBufferLike>
surfaceColorIndices: TypedArray
diffuseColorIndices: TypedArray
specularColorIndices: TypedArray
reflectionColorIndices: TypedArray
transmissionColorIndices: TypedArray
diffuseTransmissionColorIndices: TypedArray
nameIndices: TypedArray
diffuseFactors: Float32Array<ArrayBufferLike>
specularFactors: Float32Array<ArrayBufferLike>
reflectionFactors: Float32Array<ArrayBufferLike>
transmissionFactors: Float32Array<ArrayBufferLike>
diffuseTransmissionFactors: Float32Array<ArrayBufferLike>
specularExponents: Float32Array<ArrayBufferLike>
specularRoughnesses: Float32Array<ArrayBufferLike>
Returns this