FOM Reference > Content > PDF Controls > fPDFU3DView interface
  
fPDFU3DView interface
This object specifies the options available for a PDF Layer. PDF Layers are not available when creating a PDF below version 1.5 or with PDF/X. Any changes to a fPDFLayer object during printing will be ignored until the next print starts. This object inherits from fControl.
LightingModes enumeration
Specifies the lighting scheme for the 3D artwork.
The LightingModes enumeration has the following constants of type int.
LIGHTING_ARTWORK = 0
Lights are specified in the 3D artwork.
LIGHTING_NONE = 1
No lights; lights specified in the 3D artwork will be ignored.
LIGHTING_WHITE = 2
Three light-grey infinite lights, no ambient term.
LIGHTING_DAY = 3
Three light-grey infinite lights, no ambient term.
LIGHTING_NIGHT = 4
One yellow, one aqua, and one blue infinite light, no ambient term.
LIGHTING_HARD = 5
Three grey infinite lights, moderate ambient term.
LIGHTING_PRIMARY = 6
One red, one green, and one blue infinite light, no ambient term.
LIGHTING_BLUE = 7
Three blue infinite lights, no ambient term.
LIGHTING_RED = 8
Three red infinite lights, no ambient term.
LIGHTING_CUBE = 9
Six grey infinite lights aligned with the major axes, no ambient term.
LIGHTING_CAD = 10
Three grey infinite lights and one light attached to the camera, no ambient term.
LIGHTING_HEADLAMP = 11
Single infinite light attached to the camera, low ambient term.
RenderModes enumeration
Specifies the rendering scheme for the 3D artwork.
The RenderModes enumeration has the following constants of type int.
RENDERING_ARTWORK = 0
Render mode is specified in the 3D artwork; all other suboptions of the rendermode option will be ignored.
RENDERING_SOLID = 1
Displays textured and lit geometric shapes.
RENDERING_SOLID_WIREFRAME = 2
Displays textured and lit geometric shapes (triangles) with single color edges on top of them.
RENDERING_TRANSPARENT = 3
Displays textured and lit geometric shapes (triangles) with an added level of transparency.
RENDERING_TRANSPARENT_WIREFRAME = 4
Displays textured and lit geometric shapes (triangles) with an added level of transparency.
RENDERING_BOUNDING_BOX = 5
Displays textured and lit geometric shapes (triangles) with an added level of transparency, with single color opaque edges on top of it.
RENDERING_TRANSPARENT_BOUNDING_BOX = 6
Displays bounding boxes faces of each node, aligned with the axes of the local coordinate space for that node, with an added level of transparency.
RENDERING_TRANSPARENT_BOUNDING_BOX_OUTLINE = 7
Displays bounding boxes edges and faces of each node, aligned with the axes of the local coordinate space for that node, with an added level of transparency.
RENDERING_WIREFRAME = 8
Displays bounding boxes edges and faces of each node, aligned with the axes of the local coordinate space for that node, with an added level of transparency.
RENDERING_SHADED_WIREFRAME = 9
Displays only edges, though interpolates their color between their two vertices and applies lighting.
RENDERING_HIDDEN_WIREFRAME = 10
Displays edges in a single color, though removes back-facing and obscured edges.
RENDERING_VERTICES = 11
Displays only vertices in a single color.
RENDERING_SHADED_VERTICES = 12
Displays only vertices, though uses their vertex color and applies lighting.
RENDERING_ILLUSTRATION = 13
Displays silhouette edges with surfaces, removes obscured lines.
RENDERING_SOLID_OUTLINE = 14
Displays silhouette edges with lit and textured surfaces, removes obscured lines.
RENDERING_SHADED_ILLUSTRATION = 15
Displays silhouette edges with lit and textured surfaces and an additional emissive term to remove poorly lit areas of the artwork.
backgroundEntire attribute
If true, the background applies to the entire annotation; otherwise it applies only to the rectangle specified in the annotations’s 3D box.
backgroundEntire
Access
read-write
Returns
boolean
backgroundFillColor attribute
Specifies the background fill color for the 3D model.
backgroundFillColor
Access
read-write
Returns
fColor
camera2world attribute
3D transformation matrix specifying position and orientation of the camera in world coordinates.
camera2world
Access
read-only
Returns
fFloatArray
cameraDistance attribute
Distance between the camera and the center of the orbit.
cameraDistance
Access
read-write
Returns
float
crease attribute
(Float in the range 0..180) Crease value.
crease
Access
read-write
Returns
float
faceColor attribute
(RGB color or keyword; only for type=Illustration) Face color; this color will be used by several render modes. The keyword backgroundcolor refers to the current background color. Default: backgroundcolor.
faceColor
Access
read-write
Returns
fColor
lighting attribute
Specifies the lighting scheme for the 3D artwork. For a list of allowed values, see the list of Lighting Modes
lighting
Access
read-write
Returns
int
opacity attribute
(Float in the range 0..1 or percentage) Opacity for some render modes. Default: 0.5.
opacity
Access
read-write
Returns
float
renderColor attribute
(RGB color) Auxiliary color. This color will be used by several render modes. Default: black.
renderColor
Access
read-write
Returns
fColor
renderType attribute
Render mode for displaying the 3D artwork.
renderType
Access
read-write
Returns
int
viewName attribute
Name of the 3D view, which can be used in GoTo actions.
viewName
Access
read-write
Returns
String