Instance Property

URLValue

The URL value for the material property—typically, the URL to a texture image.

Declaration

@property(nonatomic, copy) NSURL *URLValue;

Discussion

A renderer (or other software component processing a material) is responsible for loading a texture image from the specified URL.

See Also

Working with a Material Property’s Value

stringValue

The string value for the material.

textureSamplerValue

A texture sampler object that provides the texture image value for the material property.

color

The color value for the material property.

floatValue

The scalar floating-point value for the material property.

float2Value

The 2-component floating-point vector value for the material property.

float3Value

The 3-component floating-point vector value for the material property.

float4Value

The 4-component floating-point vector value for the material property.

matrix4x4

The 4 x 4 floating-point matrix value for the material property.