RenderDraw Documentation
  • About RenderDraw
    • What is RenderDraw?
    • RenderDraw Philosophy
    • Key features and benefits
  • Introduction
  • Getting Started with RenderDraw
    • Installation
    • Adding a RenderDraw License to a user's account
    • RenderDraw Permission Sets
      • Using user access policies for automated permission set & License Assignment
    • Relating Drawings to a Salesforce Record
    • CAD Conversion
      • Setup of CAD Conversion
      • UI CAD Conversion for Salesforce for Salesforce Admins
      • Version 1
        • CAD Conversion API (Direct Use)
          • Example input for Conversion
      • Version 2 (proposal)
        • Purpose
        • Sample File Input Conversion
  • Diving deeper
    • RenderDraw Architecture
      • RenderDraw Components
      • Storage of your Drawings
        • Connecting to your drawings
      • Supported Formats
    • Relationships
      • Why Metadata Matters
        • Advanced Metadata Relationships
          • Child Lookup
          • Parent-Child Relationships
      • Record Management
        • Scene Settings
    • Performance Considerations
    • Development Resources
    • Using Components on LWR Digital Experiences
    • Utilizing Interactions within Lightning Flow
    • Fixing Common Issues
  • Usage Scenarios
    • Use Cases
      • 2D
        • Part Finder
          • Data Setup for B2B
            • Choose where you want to display your Product Catalogs
            • Setup Field on Catalog Object
            • Setup Group and Files
          • Parse PDF Catalogs to attach images
          • Base setup for initial catalog page
            • Sharing of Files
            • Clone Pages
          • Create Callouts for Parts
          • Utilize OCR to highlight callouts
          • Optionally show inventory or availability based on data
          • Create Interactions for hover and click actions
          • Create a reusable, connected Datatable
        • Custom 2D App Development using Salesforce
        • 2D Admin Guide (Clicks, not Code)
          • Setting your object up for 2D visuals
          • Setup 2D Scene Settings for a record
          • Add a background image to your scene
          • Adding Droppable Areas and Drop Zones to a Scene
          • Adding Draggable Items to a Scene
          • Relating Components to Salesforce Data
          • Add a DataSource to a 2D scene to bind data
          • Adding Layout Drawing menu to your component (Floorplan & Spatial Drawing)
          • Linking your clicks to Actions / Flows
          • Visual Rules engine
          • Hover Actions and Popovers
          • Change your Layout Drawing visuals based on Salesforce Data in a DataSource query
          • Enable users to take snapshots
          • Show additional Drawings with your 2D Canvas
          • Use Color Selection to add clickable regions to your 2D Scene
          • Use OCR to add Clickable regions to your 2D scenes.
            • Enable Azure OCR in your Remote Site settings & Metadata
            • Add Layout Areas using OCR
        • Data interaction within a Flow
          • Modifying Canvas with APEX
        • 2D User Guide
          • Take a snapshot
      • 3D
        • Admin
          • Adding Components to your Lightning Pages
          • Examples
            • Asset Management
            • Product Visualization
            • Setup for 3D Visual Configuration Scenarios
              • Salesforce CPQ
              • Conga CPQ
              • Custom Configuration Scenarios
            • 3D Product Photography
          • Setup 3D Scene
            • Visual Scene Setup
              • Interaction Events
              • Grouping
              • Labeling
              • Actions
              • Attributes (Look & Feel)
            • Configuration
              • Interaction Events
                • Action Items
                • Conditions
                • Steps
        • Developer
          • Custom 3D App Development using Salesforce
        • End-User Usage
          • View Related 3D Converted files on a record
          • 3D Annotations & Comments
      • CAD Conversion
        • CAD Conversion using Admin UI
          • Prior to getting started...
          • CAD Conversion UI within Salesforce
        • Automatic Conversion in Salesforce
          • Integration User
          • Remote Site Setting
          • Setup Connected App
          • Setup Custom Settings for Triggering Conversion
          • Test your Files
          • Extending the integration using Platform Events
      • RenderDraw Interactive Maps
        • Admin Setup
        • End User Usage
      • Other Apps
        • RenderDraw Data Utilities
          • Essentials
            • Swiper
            • Flow Image display
            • QR Code Generator
            • QR Code Scanner
          • Standard
            • 360Âş Virtual Tours
              • Administration
              • Usage
            • AnnotateIt! Images
              • Admin's Guide to AnnotateIt! components
              • Permissions / Authorization
            • Standalone Datatable
          • Advanced
            • AnnotateIt! PDF Editor
            • Parsing PDFs
            • CSV Importer
        • RenderDraw for Propel
          • Initial Setup
            • Common Issues
          • CAD Conversion & Visual Viewing
          • Annotate Item Attachments
        • MeasurePro (iOS App)
          • Creating a Deep Link to Launch with Parameters
      • Interacting with RenderDraw using Lightning Messaging Service (LMS)
        • Canvas Element Hovered
        • Canvas Element Selected
        • Canvas Initialized
        • Canvas Interaction
        • Record Selected
        • Code Example of Listening to LMS Events
  • API Documentation
    • 3D Components API
      • Events (Aura)
        • EVT_Renderer_Context_Details_Closed
        • EVT_Renderer_Element_Added
        • EVT_Renderer_Get_CameraPositionandTarget
        • EVT_Renderer_Get_Hierarchy
        • EVT_Renderer_Loaded
        • EVT_Renderer_Mesh_Selected
        • EVT_Renderer_Mesh_Selection_Cleared
        • EVT_Renderer_Select_Component
        • EVT_Renderer_Screenshot_Taken
      • Components (Aura/LWC)
        • 3D Interaction Canvas (LWC)
        • 3D Advanced Renderer (Aura)
        • 3D Scene Director (Aura)
        • 3D Simple Renderer (Aura)
        • 3D File Attachment Viewer (Aura)
    • 2D Components API
      • 2D Interaction Canvas
      • 2D Scene Director
    • Universal Components Used throughout the Suite
      • dynamicContentComponent_treeGrid
    • Data Objects used throughout the Suite
      • Canvas
      • BaseCanvasItem
      • LayoutWall
      • DropZone
      • DroppableArea
  • 👬Digital Twin
    • Digital Twin App
      • Setup
        • Steps to Setup Digital Twin Capabilities
        • RenderDraw Relationship Settings
        • Embedding Digital Twin Components
      • Asset Search
      • Digital Twin LWC Component
        • Custom Component Interaction with Renderer
        • Digital Experience Tips and Tricks
Powered by GitBook
On this page
  • Background Information
  • Usage Notes
  • Interfaces
  • Attributes
  • Methods
  1. API Documentation
  2. 3D Components API
  3. Components (Aura/LWC)

3D Advanced Renderer (Aura)

Previous3D Interaction Canvas (LWC)Next3D Scene Director (Aura)

Last updated 1 year ago

Background Information

The Advanced Renderer was created for more complex development and interaction scenarios than the SimpleRenderer component. SimpleRenderer was created for displaying 3D drawings and allowing interaction without events or selection of components within the drawing itself.

Advanced Renderer was created to allow for the manipulation of a 3D scene within the context of a Salesforce interaction. This can be displayed using our Slot UI framework which is detailed below.

The Advanced Renderer is used throughout the RenderDraw suite, namely inside of the 3D Scene Director.

Usage Notes

Advanced Renderer should be used in any custom development scenario. This component was created to allow for the contextual interaction with other data within Salesforce. If you need a custom interaction beyond 3D visualization, this component is likely what you will be using. AdvancedRenderer can be utilized in simple rendering scenarios as well, with the option of utilizing slots.

Slots

AdvancedRenderer was designed for extensibility, with that in mind, solving for every use case isn't really possible without knowing how each implementation and custom project needs to display 3D within Salesforce. Salesforce Lightning components are composable, and the AdvancedRenderer has prebuilt slots for you to pass custom components into.

A common interaction flow is searching for a detail record from record set, and displaying a 3D drawing or 2D image based on that selection. in the diagram below, we walk through displaying a list of order items, fetching the details of an item, displaying the appropriate drawing and if selected the related actions to its subcomponents. These can lead to the user attempting to either re-order an item or create a service order based on a warranty claim.

The interaction follows a pattern events that can be triggered by the user, or by the 3D drawing / rendering itself. Displaying these details alongside the 3D drawing in a repeatable way are why we created the Slot UI Layout. Slots can be used to express any interaction within Salesforce, and the AdvancedRenderer provides the capability to display these as you see fit.

Lets break down each Slot and its intended purpose.

These slots were meant to be used as needed, and data surrounding what we are rendering is supposed to flow from left to right, starting with ContextContent (1) and concluding on the Sidebar Content (4) with some interaction in between.

Context Content (1)

The ContextContent slot is meant to provide high-level information to the user regarding what the 3D model is supposed to represent. Some examples of what has been used in the ContextContent Slot in past projects include

  • Lists of Salesforce Objects that, once selected, update what rendering is displayed

  • Configuration options for a product to modify the 3D object/scene

Because of the recurring theme of searching for details that reside in a list of information, we have created the ContextContentDetails slot as well, which is displayed in the same area (1) that the ContextContent component is displayed, the only difference is an additional back button (that raises EVT_Renderer_Context_Details_Closed), and displayed header text to provide your user some context (attribute contextDetailHeaderText).

Action Information Pane (3)

The horizontal slot available above the 3D model, which is typically used for Actions related to what is being rendered (e.g. Create a Case). Using attribute displayActionInformationPaneOnSelection will automatically display the ActionInformationPane when a user selects a component using ComponentTouch.

We suggest limiting the height of components passed into this slot to approximately â…“ of the parents components overall height, as the ActionInformationPane shares vertical space with the rendered content, and the 3D element is typically the star of the show in a user's eyes.

Sidebar Content (4)

The Sidebar content slot provides space for additional information that is to be displayed based on an interaction in the 3D content pane.

Passing components into a slot

Passing components into slots are as simple as using the aura:set tag with the name of the slot you would like to use.

<RDraw:AdvancedRenderer aura:id="renderer" displayContext="true"  loadingImage="{!v.loadingImage}"
 displaySidebar="{!v.showSidebar}" displayActionInformationPane="{!v.displayActions}"
 spitShine="True" allowSelection="true" recordId="{!v.recordId}">
    <aura:set attribute="contextContent">
           //your component goes here for the context menu (1) 
    </aura:set>
    <aura:set attribute="actionInformationPane">
          //your component goes here for the ActionInformationPane (3)
    </aura:set> v
    <aura:set attribute="sidebarContent">
         //your component goes here for the Sidebar content (4)
    </aura:set>
 </RDraw:AdvancedRenderer>

Interfaces

Attributes

NAME
TYPE
DEFAULT
DESCRIPTION

actionInformationPane

component[]

The horizontal slot available above the 3D model. This is typically used for Actions related to what is being rendered (e.g. Create a Case)

allowSelection

boolean

Allow the selection of subcomponents either by ComponentTouch(Click) or programmatically using the selectComponent method

availableActions

string[]

body

component[]

brandImageURL

string

The branded logo image displayed in the bottom right corner of the rendering components. Pass an empty string if no branding is desired.

childComponentPrefixToFilter

string[]

[]

A list of strings to ignore if they follow the name value, e.g. a value of ['_ASM'] passed along with the 'name' parameter of IceCream would successfully return a 3D node named 'IceCream_ASM'

childComponentSuffixToFilter

string[]

[]

A list of strings to ignore if they precede the name value, e.g. a value of ['ASD_'] passed along with the 'name' parameter of IceCream would successfully return a 3D node named 'ASD_IceCream'

contentVersionId

string

The content version to render (if rendering from Salesforce servers/files). Using contentversionid will bypass the standard recordId and the overrideURL

contextContent

component[]

The Salesforce Lightning components to be displayed on the context pane (left side slot, representing context to what is being rendererd.)

contextDetailContent

component[]

The Salesforce Lightning components to be displayed on the context detail pane (left side slot, representing details to the context of what is being rendererd.) This is typically displayed based on some action that happened within the contextContent componets, e.g. list order items, then dive into the details of a particular line.

contextDetailHeaderText

string

Details

The header text that is displayed next to the back button on the contextDetail facet. This describes the content that is passed via contextDetailsContent, typically the name of a line item or detail item within a list presented in the contextContent

contextSize

integer

4

The size in units, up to 12, for how wide the Context and Context Details slots are

displayActionInformationPane

boolean

false

Whether or not to display the Action information pane slot (top slot) and components passed into actionInformationPane parameter

displayActionInformationPaneOnSelection

boolean

false

Whether or not to display the Action information pane slot (top slot) when a selection is made via ComponentTouch or programmatically

displayContext

boolean

false

Whether or not to display the context slot (left side slot) and components passed into contextContent parameter

displayContextDetails

boolean

false

Whether or not to display the context slot details and components passed into contextDetailContent parameter. Use this for displaying detail components related to contextContent, e.g. Line item details for for an order item listed in contextContent. This cannot be used at the same time as displayContext

displaySidebar

boolean

false

Whether or not to display the sidebar slot (right side slot) and components passed into sidebarContent parameter

environmentColor

string

#E6F1F4

The background color of the 3D environment. Use Hex code format, such as #ffffff

loadingImage

string

The image URL to display while the 3D model is loading

nodeIgnoreList

string[]

[]

A list of strings that contain names of nodes to ignore when traversing the 3D structure during ComponentTouch or Finding a component by name

overrideURL

string

The absolute URL to render.

playground

boolean

false

Setup a renderer without loading a model for custom interactions

recordId

string

relatedRecordBusy

boolean

false

Whether or not the system is busy searching for the related record.

selectedComponentName

string

The node name of the selected component in the 3D model

showUserMessages

boolean

false

Show rendering related messages to the user. This is typically used in debug scenarios

sidebarContent

component[]

The vertical slot avalable to the right of the 3D model. This is typically used for Detailed information related to the result of a ComponentTouch on a model (e.g. selection of a subcomponent within a model for checking on warranty information).

sidebarSize

integer

4

The size in units, up to 12, for how wide the Context and Context Details slots are

size

string

Size of the component, either Stretch, Small, Medium, Large, Jumbo

spitShine

boolean

false

Add a shine to your model, even if the materials loaded have no reflection

useCommunities

boolean

Fixes the fetching of files and metadata when utilizing a Community

userInteracted

boolean

false

Whether or not a user has interacted with the drawing

Methods

NAME
ARGUMENTS
DESCRIPTION

add2DImage

Add a floating image in 3D space

add2DText

Add floating 2D text that can be attached to a 3D component/node in the scene

add3DTextToScene

Add 3D text to a given Scene

addComponentTransformHandles

Used to add position, rotation and size handles to a set of components by name.

addComponentTransformHandlesToMultipleComponents

Used to add position, rotation and size handles to a set of components by name.

addLight

Add a new light to the scene

addModelToScene

Add an additional model to the scene.

addPhotoDome

Add 360° photo as a sphere where models can be rendered

addVideoPlayer

Add a floating video Player in 3D space

addWidget

Still in our 'labs' status. Adds a widget to our scene.

aimAndPositionCamera

Position the camera in 3D space and aim at a subject.

aimCamera

Aim the camera in 3D space either at a component or some coordinates.

autoLabelComponents

Automatically add labels to components

clearAllHighlights

Clear all highlights from the Scene.

clearSelections

Clear all selections from the Scene.

displayMedia

Display related media instead of the 3D drawing

findNode

Returns an object containing the Node information from the 3D scene. If no node is found, ths returns nothing

getCameraPositionandTarget

Fetch the camera's current position and where it is aiming.

getFixedComponentName

Retrieves fixed component name based on prefix and suffixes

getHierarchy

Fetch the 3D model's hierarchy. Must subscribe to RDraw:EVT_Renderer_Get_Hierarchy for response

getListOfComponentNames

Fetch a flat list of all of the names of each 3D Node in the scene

getRenderContextForId

Retrieves RenderContext from server for a given recordId

hideAllLabels

Hide all labels added to the 3D Scene

hideAllNodes

Hide all nodes in a 3D Scene

hideLabelManager

Hide label manager to apply styles to labels added to the 3D Scene

hideMedia

Hide displayed related media that is presented in the content area of this component

hideNode

Hide a node in a 3D Scene

highlightComponent

Find a component by name or Id and highlight it with the color provided

highlightMultipleComponents

Highlight several components in the scene

is3DSceneDisplayed

Check if a 3D scene is displayed in the Main Content of this component

isMediaDisplayed

Check if media is displayed instead of a 3D scene in the Main Content of this component

isolateComponent

Isolate the individual component by hiding all other components in the scene

isolateMultipleComponents

Isolate the several components by hiding other components in the scene

loadAndApplyTextureMaterialToModel

Load a diffuse texture and add it to a model.

positionCamera

Position the camera in 3D space.

raiseInteractionEvent

Used to call actions that were setup within the 'interactions' section of the Scene setup

reintegrateComponent

Re-integrate a component that has been isolated.

reloadToInitialScene

Reload to the initial scene (post initial model load)

removeComponent

Removes the given component from a scene

removeComponentHandles

Used to remove position, rotation and size handles to a set of components by name.

resetCamera

Reset the camera to it's initial position in the scene

resetExplosion

Reset a custom explosion to its initial position

selectComponent

Programmatically select a component node within the 3D model. Raises RDraw:EVT_Renderer_Mesh_Selected on successful selection

setLabelStyling

Hide label manager to apply styles to labels added to the 3D Scene

setupGround

Add a ground for your 3D scene, with or without a heightmap

showAllLabels

Show all labels added to the 3D Scene

showAllNodes

Show all nodes that have been hidden in a 3D Scene

showLabelManager

Show label manager to apply styles to labels added to the 3D Scene

showNode

Show a node that has been hidden in a 3D Scene

showToastNotification

Displays a toast notification to the user

takeSnapshot

Take a snapshot of the scene

toggleEnableComponent

Enable or disable a given 3D node by passing a uniqueId, name or id

triggerRegisteredExplosion

Register a custom explosion

updateBackgroundImage

Update background to a image

updateComponentColor

Update a given 3D component node to the passed hex color code.

updateEnvironmentLightTexture

Change the lighting texture to use (for refraction)

updateExistingLabel

Update an existing Label

updateLight

Add a new light to the scene

verifyComponent

Verify a component exists in the scene, is enabled and visible.

, ,

Inherited from The navigation actions available for this screen. Valid actions are NEXT, PREVIOUS, FINISH, and PAUSE.

Inherited from The body of the component. In markup, this is everything in the body of the tag.

Inherited from The record Id

NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION
NAME
TYPE
DESCRIPTION

id

string

The id of the image player to add

imageURL

string

The URL to the image

width

double

The width of the image

height

double

The height of the image

positionX

number

The x-coordinate position to add the image to

positionY

number

The y-coordinate position to add the image to

positionZ

number

The z-coordinate position to add the image to

id

string

The id of the text to add

text

string

The text to add

size

number

The size of the text to add

color

string

The color of the text to add

componentName

string

The component to attach

showOnlyOnHover

boolean

Auto-hide this text if the user isnt hovering over the named component. This is ignored if there isnt a component passed

id

string

The id of the text to add to the scene

text

string

The text to add to the scene

font

string

What font is to be used, either comic, helvetica, or arial

anchor

string

position of the text to anchor itself to- either left, center, right

letterHeight

number

How tall the letters are (y-axis)

letterThickness

number

How thick the letters are (depth, in three dimensions the Z axis)

color

string

The hex color code of the text

secondaryColor

string

The hex color code of the accent color on the text

positionX

number

The x-coordinate position to add the text to

positionY

number

The y-coordinate position to add the text to

positionZ

number

The z-coordinate position to add the text to

componentName

string

The name of the 3D node to add the handles to

enableSizeHandles

boolean

Whether or not to allow for the resizing of the underlying element

enableRotationHandles

boolean

Whether or not to allow for the rotation of the underlying element

enablePositionHandles

boolean

Whether or not to allow for the position of the underlying element

usePointerToAttachHandles

boolean

Whether or not to attach the selected handles when you click on an added component (named above)

clearHandlesOnEmptyPointerEvent

boolean

Whether or not to detach the handles when you click away from an added component (named above)

componentNames

list

The names of the 3D nodes to add the handles to

componentIds

list

The Ids of the 3D nodes to add the handles to

componentUniqueIds

list

The UniqueIds of the 3D nodes to add the handles to

enableSizeHandles

boolean

Whether or not to allow for the resizing of the underlying element

enableRotationHandles

boolean

Whether or not to allow for the rotation of the underlying element

enablePositionHandles

boolean

Whether or not to allow for the position of the underlying element

usePointerToAttachHandles

boolean

Whether or not to attach the selected handles when you click on an added component (named above)

clearHandlesOnEmptyPointerEvent

boolean

Whether or not to detach the handles when you click away from an added component (named above)

name

string

The name of the light to add

lightType

string

The type of light to add to the scene, must be one of 'point','spot','directional','hemispheric'

positionX

double

The x-coordinate position on the scene to add the light (only used for point, spot, and hemispheric lights)

positionY

double

The y-coordinate position on the scene to add the light (only used for point, spot, and hemispheric lights)

positionZ

double

The z-coordinate position on the scene to add the light (only used for point, spot, and hemispheric lights)

lightIntensity

double

The strength of the light

diffuseColor

string

The hex code (starting with #) of the basic color of the light

specularColor

string

The hex code (starting with #) of the light that produces a highlight color on an object

directionX

double

The x-coordinate direction to point the light at (only used for directional, and spot lights)

directionY

double

The y-coordinate direction to point the light at (only used for directional, and spot lights)

directionZ

double

The z-coordinate direction to point the light at (only used for directional, and spot lights)

nodeName

string

The name of the node of the 3D node after loading

URL

string

The URL of the of the 3D model to load

fileName

string

The file name and extension of the of the 3D model being loaded

parentNodeUniqueId

string

The name of the parent node of the 3D node after loading

positionX

double

The x-coordinate position to load the model in

positionY

double

The y-coordinate position to load the model in

positionZ

double

The z-coordinate position to load the model in

rotationX

double

The rotation (Euler Angles) on the X axis of the model to load

rotationY

double

The rotation (Euler Angles) on the Y axis of the model to load

rotationZ

double

The rotation (Euler Angles) on the Z axis of the model to load

scaleX

double

The scale on the X axis of the model to load

scaleY

double

The scale on the Y axis of the model to load

scaleZ

double

The scale on the Z axis of the model to load

transaction

string

name

string

The component to attach

photoURL

string

The URL to the photo

size

string

The size of the sphere (defaults to 15)

limitCamera

boolean

Limit the Camera Zoom to within the dome

x

number

The X-Position of the Photodome in 3D space.

y

number

The Y-Position of the Photodome in 3D space.

z

number

The Z-Position of the Photodome in 3D space.

infiniteDistance

boolean

Enable infinite distance on the photodome

id

string

The id of the video player to add

videoURL

string

The URL to the video

width

double

The width of the player

height

double

The height of the player

positionX

number

The x-coordinate position to add the video to

positionY

number

The y-coordinate position to add the video to

positionZ

number

The z-coordinate position to add the video to

placeholderImageURL

string

The URL to the image to display before playing the video

name

string

type

string

positionX

string

positionY

string

positionZ

string

rotationX

double

The rotation (Euler Angles) on the X axis of the Widget

rotationY

double

The rotation (Euler Angles) on the Y axis of the Widget

rotationZ

double

The rotation (Euler Angles) on the Z axis of the Widget

scaleX

double

The scale on the X axis of the Widget

scaleY

double

The scale on the Y axis of the Widget

scaleZ

double

The scale on the Z axis of the Widget

positionx

double

The cameras position on the X-Axis

positiony

double

The cameras position on the Y-Axis

positionz

double

The cameras position on the Z-Axis

positionalpha

double

Defines the camera rotation along the logitudinal axis

positionbeta

double

Defines the camera rotation along the latitudinal axis

aimx

double

The cameras focus on the X-Axis

aimy

double

The cameras focus on the Y-Axis

aimz

double

The cameras focus on the Z-Axis

nodeName

string

The name of the 3D node to focus on

x

double

The cameras focus on the X-Axis

y

double

The cameras focus on the Y-Axis

z

double

The cameras focus on the Z-Axis

nodeName

string

The name of the 3D node to focus on

imageURL

string

The fully qualified url of the image to display, e.g. https://files.renderdraw.us/public/images/2020RDLogo.png

allowClose

boolean

Allow for users to close the displayed media

name

string

The name of the node

prefixesToIgnore

string[]

A list of strings to ignore if they preceed the name value, e.g. a value of ['ASD_'] passed along with the 'name' parameter of IceCream would successfully return a 3D node named 'ASD_IceCream'

suffixesToIgnore

string[]

A list of strings to ignore if they follow the name value, e.g. a value of ['_ASM'] passed along with the 'name' parameter of IceCream would successfully return a 3D node named 'IceCream_ASM'

name

string

recordId

string

componentName

string

The name of the 3D node to hide

nodeId

string

The uniqueId of the component to highlight

name

string

The name of the component to highlight

enabled

boolean

Whether or not to highlight the component (remove highlight if false)

color

string

The hex code (starting with #) to use for the highlight- defaults to orange

zoomAndFocusOnElement

boolean

Zoom the camera to the highlighted element

names

string[]

A list of strings of component names to highlight

color

string

The hex code (starting with #) to use for the highlight- defaults to orange

enabled

boolean

Whether or not to highlight the component (remove highlight if false)

componentName

string

The name of the 3D node to isolate

componentNames

list

The names of the 3D node to isolate

componentIds

list

The ids of the 3D node to isolate

componentUniqueIds

list

The Unique Ids of the 3D node to isolate

textureImageURL

string

The URL of the of the 3D model to load

nodeUniqueId

string

The uniqueId of the Model to apply the texture to

materialName

string

The name of the material you want to replace the texture of the material you are loading

x

double

The cameras position on the X-Axis

y

double

The cameras position on the Y-Axis

z

double

The cameras position on the Z-Axis

alpha

double

Defines the camera rotation along the logitudinal axis

beta

double

Defines the camera rotation along the latitudinal axis

name

string

The name of the action

type

string

The type of the action, one of change,focus,focuslost

label

string

A label used from the interaction (typically an Input element on configuration)

value

object

The updated value from the interaction

metadata

object

Additional information for the event

componentName

string

The name of the 3D node to isolate

uniqueId

string

The uniqueId to find and remove.

name

string

The node name to find and remove.

name

string

The name of the explosion to reset

name

string

The name of the node to select. Use only one of name, id, uniqueId (uniqueId being most specific)

id

string

The id of the node to select. Use only one of name, id, uniqueId (uniqueId being most specific)

uniqueId

string

The uniqueId of the node to select. Use only one of name, id, uniqueId (uniqueId being most specific)

context

object

ignoreList

string[]

The list of node names to skip when traversing the 3D model to find the node

lineThickness

number

The width of both the border around the label as well as the line that connects the component to the label.

color

string

The color of the label text as well as the line that connects the component to the label.

bold

boolean

Whether the text of the label is bold or not.

align

string

The alignment of the labels around the 3D model.

imageURL

string

The URL to the texture image

heightMapURL

string

The URL to the heightmap image

width

double

The width of the ground

height

double

The height of the ground

maxheight

double

The max height of the ground

minheight

double

The minimum height of the ground

subdivisions

number

The number of subdivisions for the ground, this defaults to 10

groundY

number

The height on the y axis to render this ground, this defaults to 00

admin

boolean

componentName

string

The name of the 3D node to show

title

string

Specifies the title for a message to display. The title is shown above the message in a slightly larger

mode

string

The toast mode, which controls how users can dismiss the toast. Valid values are 'pester', 'dismissable' and 'sticky'. The default is 'dismissible', which displays the close button.

message

string

The message to display in the toast.

messageTemplate

string

Overwrites message string with the specified message. Requires messageTemplateData.

iconName

string

Icon to use when toast type is 'other'. Icon keys are available at the Lightning Design System Icons page.

type

string

The toast type, which can be 'error', 'warning', 'success', or 'info'. The default is 'other', which is styled like an 'info' toast and doesn’t display an icon, unless specified by the key attribute.

duration

integer

Length of time the toast is visible for, in milliseconds. Applies to 'dismissible' or 'pester' toast modes. The default is 5000ms if the provided value is less than 5000ms.

messageTemplateData

object[]

An array of text and actions to be used in messageTemplate.

download

boolean

If true, the screenshot will be downloaded directly to the user, otherwise, the snapshot will be returned in an event response

name

string

The name to enable/disable. Use only one of name, id, uniqueId (uniqueId being most specific)

id

string

The id to enable/disable. Use only one of name, id, uniqueId (uniqueId being most specific)

uniqueId

string

The uniqueId to enable/disable. Use only one of name, id, uniqueId (uniqueId being most specific)

isEnabled

boolean

Ensure the component is enabled regardless of its current state

explosionName

string

The name of the registered explosion

step

string

Which step of explosion to move to

includePriorSteps

boolean

Include steps leading up to this step (e.g. call steps 0-4 if the 5th step is called)

imageURL

string

The URL to the image

name

string

The name of the node to update. Use only one of name, id, uniqueId (uniqueId being most specific)

id

string

The id of the node to update. Use only one of name, id, uniqueId (uniqueId being most specific)

uniqueId

string

The uniqueId of the node to update. Use only one of name, id, uniqueId (uniqueId being most specific)

colorHex

string

The hex color to update the node with

includedTextureName

string

The name of the included texture to use, must be one of photoStudio, dusk, emptyWarehouse, partlycloudy, country

labelId

string

labelText

string

name

string

The name of the light to update

enable

boolean

Whether or not the light is enabled (turned on)

intensity

double

The intensity of the light

diffuseColor

string

The hex code (starting with #) of the basic color of the light

specularColor

string

The hex code (starting with #) of the light that produces a highlight color on an object

componentName

string

The name of the 3D node to verify

flexipage:availableForAllPageTypes
force:hasRecordId
lightning:availableForFlowScreens
lightning:availableForFlowScreens
aura:component
force:hasRecordId