Instance Property

instanceRedOffset

Defines the offset added to the red component of the color for each replicated instance. Animatable.

Declaration

var instanceRedOffset: Float { get set }

Discussion

The instanceRedOffset is added to the red color component of instance k-1 to produce the modulation color of instance k.

Default is 0.0.

See Also

Accessing Instance Color Values

var instanceColor: CGColor?

Defines the color used to multiply the source object. Animatable.

var instanceGreenOffset: Float

Defines the offset added to the green component of the color for each replicated instance. Animatable.

var instanceBlueOffset: Float

Defines the offset added to the blue component of the color for each replicated instance. Animatable.

var instanceAlphaOffset: Float

Defines the offset added to the alpha component of the color for each replicated instance. Animatable.