contentsTransform
The transformation applied to the material property’s visual contents. Animatable.
Declaration
var contentsTransform: SCNMatrix4 { get set }var contentsTransform: SCNMatrix4 { get set }Discussion
SceneKit applies this transformation to the texture coordinates provided by the geometry object the material is attached to, then uses the resulting coordinates to map the material property’s contents across the surface of the material. (This transformation has no effect if the material property’s contents object is a constant color.)
For example, you can use this property to grow, offset, or rotate a texture relative to the surface of a material, as illustrated below.
[Image]
You can animate changes to this property’s value. See Animating SceneKit Content.