Home Reference Source Repository
import SCNDebugOptions from 'jscenekit/js/SceneKit/SCNDebugOptions.js'
public class | source

SCNDebugOptions

Options for drawing overlays with SceneKit content that can aid in debugging, used with the debugOptions property.

See:

Member Summary

Public Members
public get
public get

Only lights whose type is omni or spot have an area of effect; directional and ambient lights affect the entire scene.

public get
public get
public get
public get

When this option is enabled, SceneKit still renders scene geometry with all associated materials, then overlays a wireframe rendering of the same geometry.

Method Summary

Public Methods
public

init(rawValue: number): void

Public Members

public get showLightExtents: SCNDebugOptions source

Only lights whose type is omni or spot have an area of effect; directional and ambient lights affect the entire scene.

See:

public get showWireframe: SCNDebugOptions source

When this option is enabled, SceneKit still renders scene geometry with all associated materials, then overlays a wireframe rendering of the same geometry. You can use this option, for example, to debug material rendering issues.

See:

Public Methods

public init(rawValue: number): void source

Params:

NameTypeAttributeDescription
rawValue number

Return:

void

See: