IDaylightSystemFactory Class Reference
 
 
 
IDaylightSystemFactory Class Reference

#include <IDaylightSystem.h>

Inheritance diagram for IDaylightSystemFactory:
FPStaticInterface FPInterfaceDesc FPInterface BaseInterface InterfaceServer MaxHeapOperators

Class Description

Factory for daylight system objects.

The type of Sun and Sky components are specified by the current Market Default. Use this interface to create instances of the daylight system. Client code can get to this interface as follows:

This interface is implemented by 3ds Max.

Public Member Functions

virtual INode Create (IDaylightSystem *&pDaylight)=0
  Creates a daylight system and adds it to the scene, at a default position of (0,0,0)

Static Public Member Functions

static IDaylightSystemFactory GetInstance ()
  Retrieves the single instance of the Daylight system factory.

Member Function Documentation

virtual INode* Create ( IDaylightSystem *&  pDaylight ) [pure virtual]

Creates a daylight system and adds it to the scene, at a default position of (0,0,0)

Parameters:
[in,out] pDaylight returns the component of the daylight system which can be used to access the sun and sky. See IDaylightSystem.
Note:
The type of the sun and the sky components that are created depends on the current Market Defaults settings. See the 3ds Max User Guide for more details.
Returns:
A pointer to the Daylight assembly node of the daylight system.
static IDaylightSystemFactory* GetInstance ( ) [inline, static]

Retrieves the single instance of the Daylight system factory.