A texture is a bitmap image that can be used to apply colors and other attributes to objects.
The Material design is a more complete design to use when you need to add images and colors to your project models.
Parameter Rules
imageUrl: | The URL describing the loadable texture file. |
Example: | R.getUrl( { name: 'kblogo2.png', id: 'cd054292-4561-4a32-70b7-08d8e3dc542a' }); |
options: | Internal Use Only. |
spec: | Internal Use Only. |
textureName: | The name of the texture. This is used to lookup the texture in the texture table so it is only loaded once. |
Example: | 'MyTexture' |
Mixins
BaseModel
RULE NAME |
TYPE |
DEFAULTS |
CATEGORY |
FLAGS |
---|---|---|---|---|
imageUrl |
string |
"https://threejs.org/examples/textures/" |
Inputs |
Cached |
options |
any |
{} |
Render |
Cached |
spec |
any |
Object.assign({}, this.options) |
Render |
Cached Required |
textureName |
string |
<Empty> |
Render |
Cached Required |
The Material design is a more complete design to use when you need to add images and colors to your project models.