The string representation of the vector.
SDKs
- iOS 5.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Image
Declaration
@property(readonly) NSString *stringRepresentation;
Discussion
Some example string representations of vectors :
@"[1
— a.0 0 .5 0 .3]" vec3
vector whose components areX = 1
,.0 Y = 0
, and.5 Z = 0
.3 @"[10
— a.0 23 .0] vec2
vector whose components areX = 10
and.0 Y = 23
.0
To create a CIVector
object from a string representation, use the vector
method.