The ComposedMaterial
class encapsulates patch asset materials.
Inherits From : MaterialBase
This module exposes no properties.
Method | Description |
---|---|
| setParameter(parameterName: string, signal: ISignal | Transform | WorldTransform): void Assigns a signal to the specified patch asset parameter. |
| setShaderCode(shaderCodeAsset: ShaderCode, interfaceName?: string): void Sets the given shaderCodeAsset for the composed material with the interface name defaulting to 'main'. |