Please enable JavaScript to view this site.

Knowledge Bridge Documentation

Help version: 3.3.8

 

Description

 

The Render3Mixin design provides direct support for three.js modeling and rendering.

 

 

Parameter Rules

 

castShadow:Determines whether this object can cast shadows. Shadows must be enabled in the scene for this to take effect.

 

color:Defines the color/material used to render this object.If not supplied, the parent's color is used.

 

isSelectable:Set this to true to allow this model to be selected in a graphics window.

 

layer:Defines the layer membership of this model. If not supplied, the parent's layer is used. Layer names can include spaces and underscores, but leading double-underscores are reserved for kernel use. Use of colon, comma, and period are not permitted. If transferring data to other systems, their layer naming restrictions should be respected.

 

receiveShadow:Determines whether this object can receive shadows. Shadows must be enabled in the scene for this to take effect.

 

renderChildren:Controls whether the children of this model will be shown.

 

renderNode:Set to true to force this node to render if it has geometry. By default, non-leaf geometry does not render.

 

sceneName:Sets the scene into which this model will be inserted. The default sceneName is 'model', If a different name
is added to a part or object a menu will show up in the lower left hand corner of the Model window. From here
you can select which scene name that you would like to view.

 

Render3Mixin0

 

show:Set to false to prevent this branch from display.

 

showModel:This demands the model to be rendered on the client.

 

Mixins

FrameMixin

 

RULE NAME

TYPE

DEFAULTS

CATEGORY

FLAGS

castShadow

boolean

true

Render

Cached
Parameter

color

string

"Default"

Render

Cached
Parameter

lookup

isSelectable

boolean

false

Render

Cached
Parameter

layer

string

this.nha.layer

Render

Cached
Parameter

receiveShadow

boolean

true

Render

Cached
Parameter

renderChildren

boolean

this.show

Render

Cached
Parameter

renderNode

boolean

this.children.length === 0

Render

Cached
Parameter

sceneName

string

"model"

Render

Cached
Parameter

show

boolean

this.nha.renderChildren

Render

Cached
Parameter

showModel

string

(this.show && this.renderNode) ? R.THREE.showModel( this.renderName, this.__pos3, this.__mod3, this.__mat3, true ) : R.nullHandle

Render

Cached
external

 

 

Designs that use the Render3Mixin:

All 'RenderMixins' use this.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Knowledge Bridge from Engingeering Intent is a full-featured engineering and sales automation environment