nw::gfx::AmbientLight::Create Member Function

Syntax

static AmbientLight * Create(
     SceneNode * parent,
     ResSceneObject resource,
     const AmbientLight::Description & description,
     os::IAllocator * allocator
);

Arguments

Name Description
in parent Parent node.
in resource Resource.
in description Content to configure.
in allocator Allocator.

Return Values

Ambient light that was created.

Description

Creates an ambient light.


CONFIDENTIAL