Documentation | Scripts | Scripting API: Dynamic Textures

Dynamic Texture

Class in BuildrCities
Implements BuildrData, IDynamicTexture

Description

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Methods and Properties

Material property. Links to the internal material

The colour property of the material set by the texture. Returns clear if no material is set.

Should this dynamic texture tile across UVs

If this Dynamic Texture doesn’t tile, should it repeat across the X axis.

If this Dynamic Texture doesn’t tile, should it repeat across the Y axis.

The world size of the material texture, used to calculate the UV tiling of textures.

Should the material texture be flipped clockwise when applied in mesh geometry.

Is the texture in the material set to readable. This is useful if you want to allow for atlasing and lower level of detail models.

Returns true if the material does not have a texture set and might only rely on a colour value

Returns true if the colour value of the material is not the default white.
This is useful to determine if there is any colour applied in the shader to the underlying texture

Calculate the UV based on the surface properties from world space unit values