Texture
R2026bDescription
Add-On Required: This feature requires the 3D Asset Processing Library for MATLAB add-on.
The Texture object holds image data along with sampler settings
and per-texture UV transform parameters.
Use this object to define texture maps such as base color, normal, emissive, and occlusion
for an Material object.
Creation
Description
creates an empty
texture object texObj = asset3d.TexturetexObj with no image data.
creates a texture object texObj = asset3d.Texture(Name=Value)texObj with properties specified by one or
more name-value arguments. For example, Image=imread("basecolor.png")
specifies the texture image data.
Name-Value Arguments
Output Arguments
Properties
Object Functions
sample | Sample texture at UV coordinates |
Examples
Version History
Introduced in R2026b
See Also
Mesh | Material | asset3d.read

