LightPosition
public struct LightPosition : Encodable
Note
Used bySurface<ZSurfaceData, XYData>.lightPosition
, Isosurface<XData, YData, ZData,
ValueData>.lightPosition
, Volume<XYZData, ValueData>.lightPosition
, Mesh3D<XData, YData,
ZData, IntensityData, VertexcolorData, FacecolorData>.lightPosition
, Cone<XYZData,
UVWData>.lightPosition
, StreamTube<XYZData, UVWData>.lightPosition
.
-
Numeric vector, representing the X coordinate for each vertex.
Declaration
Swift
public var x: Double?
-
Numeric vector, representing the Y coordinate for each vertex.
Declaration
Swift
public var y: Double?
-
Numeric vector, representing the Z coordinate for each vertex.
Declaration
Swift
public var z: Double?
-
Creates
LightPosition
object with specified properties.Declaration
Swift
public init(x: Double? = nil, y: Double? = nil, z: Double? = nil)
Parameters
x
Numeric vector, representing the X coordinate for each vertex.
y
Numeric vector, representing the Y coordinate for each vertex.
z
Numeric vector, representing the Z coordinate for each vertex.