MaterialInterface interface

The interface for implementing an adapter material.

Signature:

interface MaterialInterface 

Remarks

Materials power actual texture display for most or all resource types. The adapter is responsible for providing a material implementation that's compatible with the environment.

Methods

Method

Description

copy(source)

Copy source material properties and texture sources into this material.

dispose()

Dispose of this material and its internal referencs.

getTextureSources()

Retrieve texture sources.

setModifier(modifier)

Set the modifier for this material.

setTextureSources(textureSources, options)

Set texture sources for this material.

setUvCenter(center)

Set the UV center.

setUvOffset(offset)

Set the UV offset.

setUvRepeat(repeat)

Set the UV repeat.

setUvRotation(rotation)

Set the UV rotation.

setUvScale(scale)

Set the UV scale.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.