MaterialAsset#
- class gs_nyx.nyx_py_sdk.MaterialAsset#
Bases:
objectA physically-based material description. When used as ‘InstanceAsset.matOverride’, only the fields whose ‘EMaterialProperty’ bit is set are applied.
Constructors
Construct a default-initialized material asset.
Methods
Disable the given EMaterialProperty flag in 'properties'.
Return True if the given EMaterialProperty flag is set in 'properties'.
Enable the given EMaterialProperty flag in 'properties'.
Attributes
Linear RGBA base color factor.
Path to the albedo (base color) texture.
Anisotropy factor in [-1, 1] when the Anisotropy feature is enabled.
Path to the packed AO/roughness/metalness texture.
Alpha clipping mode.
Alpha cutoff threshold used when clipping is enabled.
Linear RGB emissive radiance factor.
Path to the emission texture.
Optional shading feature set (e.g. anisotropy).
Metalness in [0, 1].
Back-face normal handling mode.
Path to the tangent-space normal texture.
Opacity mode (opaque or transparent).
Perceptual roughness in [0, 1].
'<filter>_<mode>', where <filter> is one of ['linear', 'point'/'nearest', 'aniso4', 'aniso8', 'aniso16'] and <mode> is one of ['clamp', 'wrap'/'repeat', 'mirror', 'mirror-once', 'border'].
Face culling mode.
Per-channel UV scale applied to textures.