Function


mhcInstanceInit

Initializes MhcInstance.

Syntax

#include <mhc/Instance.h>
void mhcInstanceInit( MhcInstance *instance_ptr, MhcNode *node_ptr );

Description

Initializes MhcInstance.

See Also

MhcInstance MhcNode

Macro



_mhcInstanceCopyContext

Copies hierarchy context of MhcInstance.

Syntax

#include <mhc/Instance.h>
_mhcInstanceCopyContext(dest_ptr,src_ptr)

Description

Copies hierarchy context of MhcInstance.

_mhcInstanceIsReady

Checks whether MhcInstance can be evaluated.

Syntax

#include <mhc/Instance.h>
_mhcInstanceIsReady(instance_ptr)

Description

Checks whether MhcInstance can be evaluated.

_mhcInstanceEvaluate

Evaluates MhcInstance.

Syntax

#include <mhc/Instance.h>
_mhcInstanceEvaluate(instance_ptr,scene_ptr)

Description

Evaluates MhcInstance.

Structure



MhcInstance

#include <mhc/Instance.h>
typedef struct _MhcInstance
{
    struct _MhcInstance *next_ptr;
    struct _MhcInstance *prev_ptr;
    struct _MhcNode     *node_ptr;
    MhcTransform        transform;
    struct _MrnObject   *object_ptr;
    struct _MrnTexture  *texture_ptr;
    struct _MrnMaterial *material_ptr;
    struct _MrnLight    *light_ptr;
    struct _MrnLightSet *light_set_ptr;
} MhcInstance;

See Also

MhcNode