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
LightPositionobject with specified properties.Declaration
Swift
public init(x: Double? = nil, y: Double? = nil, z: Double? = nil)Parameters
xNumeric vector, representing the X coordinate for each vertex.
yNumeric vector, representing the Y coordinate for each vertex.
zNumeric vector, representing the Z coordinate for each vertex.
View on GitHub
Install in Dash
LightPosition Structure Reference