r3layer

r3layer

Class

real/r3layer/r3layer.h

Library

r3r3lay

Description:

Layer Class

See Also

real/layer/r3lislay.h

Super Class

r3Listlayer

R3CLID_LISTLAYER

JavaScript

r3Layer

Class Identifier

R3CLID_LAYER - 63

Methods

NEWINTERACTOR, PREVINTERACTOR, INTERACTORDONE, LOCKINTERACTOR, POPINTERACTOR, SWAPINTERACTOR, ANIMRECORD, FINDTAGCLOSE, PURGEMATERIALS, PUSHINTERACTOR, REWIND, PURGE, REGISTEROBJECTDEPENDE, ISTIMESENSITIVE, NEXTKEY, PREVKEY, PLAYTONEXTKEY, PLAYTOPREVKEY, GETCURRENTSUBLAYER, NEWKEY, CHORDOWN, CHORUP, ENABLEATTRFORKEYFR, ENABLEALLFORKEYFR, FIXATTRSFORKEYFR, PURGEUNRESOLVEDREFS, DELSELECTEDKEYS, DELCURRENTCHOR, FINDIMAGE, OPTRESOLVINVALIDATE, DOPURGEUNRESOLVEDREFS, SAVESELECTEDGEOMETRY, LOADGEOMETRYWITHREFOB, SHARPENSELECTEDKEYS, CHECKREFERENCES, RENAMEREFERENCES, ADDMISSINGCHANNELS, ADDCHANNEL, CHORBOTTOM, CHORTOP,

Attributes

Prims, PrimModify, Materials, Envelopes, PostImageEffects, PostParticleEffects, Images, Grids, Animator, ClipBoard, Interactor, WireMaterialEvaluator, WireMaterialEvaluator, ProgressIndicator, Painter3D, Painter2D, AnimRecord, Removable, UnitConverter, RewindObj, RewindMth, StartPlayMth, UserChannels, Saved, Thumbnail, AsyncExecutor, RenderSettings, ViewModels, UndoDepth, FileRenderers, Outputs, CurrentType, Filer,

Registration

int R3RegisterLayerClass(R3APP *app);

R3LAYM_NEWINTERACTOR

Method

NEWINTERACTOR

Identifier

R3LAYM_NEWINTERACTOR

Return

R3OBJ*, new interactor

Param 1:

R3BOOL, cancel the current before creating new

Param 3:

R3CLID, class id of the interactor to be created

JavaScript

rc = obj.NEWINTERACTOR(p1, p3);

Description

Start new interactor.

R3LAYM_PREVINTERACTOR

Method

PREVINTERACTOR

Identifier

R3LAYM_PREVINTERACTOR

Return

R3OBJ*, the resumed previous interactor object

JavaScript

rc = obj.PREVINTERACTOR();

Description

Resume the previous interactor

R3LAYM_INTERACTORDONE

Method

INTERACTORDONE

Identifier

R3LAYM_INTERACTORDONE

Param 3:

R3BOOL, replace with

JavaScript

obj.INTERACTORDONE(p3);

Description

Accept the current interactor and

R3LAYM_LOCKINTERACTOR

Method

LOCKINTERACTOR

Identifier

R3LAYM_LOCKINTERACTOR

JavaScript

obj.LOCKINTERACTOR();

Description

Lock the interactor. Accepting will not then * terminate the interactor.

R3LAYM_POPINTERACTOR

Method

POPINTERACTOR

Identifier

R3LAYM_POPINTERACTOR

JavaScript

obj.POPINTERACTOR();

Description

Pop topmost (the current) interactor off the interactor stack.

R3LAYM_SWAPINTERACTOR

Method

SWAPINTERACTOR

Identifier

R3LAYM_SWAPINTERACTOR

JavaScript

obj.SWAPINTERACTOR();

Description

Swap the two topmost interactors. The current interactor * is suspended.

R3LAYM_ANIMRECORD

Method

ANIMRECORD

Identifier

R3LAYM_ANIMRECORD

Param 3:

R3BOOL, true to enable, false to disable.

JavaScript

obj.ANIMRECORD(p3);

Description

Enter/exit animation recording mode

R3LAYM_FINDTAGCLOSE

Method

FINDTAGCLOSE

Identifier

R3LAYM_FINDTAGCLOSE

Return

R3OBJ*, object if found, otherwise NULL.

Param 1:

R3INT, attribute id, such as R3TTA_UniqueID

Param 2:

R3INT, identifier

Param 3:

R3OBJ*, don't look from this object. Set to null for full scan.

JavaScript

rc = obj.FINDTAGCLOSE(p1, p2, p3);

Description

Find object with given identifier.

R3LAYM_PURGEMATERIALS

Method

PURGEMATERIALS

Identifier

R3LAYM_PURGEMATERIALS

JavaScript

obj.PURGEMATERIALS();

Description

Purge materials

R3LAYM_PUSHINTERACTOR

Method

PUSHINTERACTOR

Identifier

R3LAYM_PUSHINTERACTOR

Return

R3OBJ*, interactor

Param 3:

R3CLID, class id of the new interactor to be created.

JavaScript

rc = obj.PUSHINTERACTOR(p3);

Description

Push new interactor into the interactor stack.

R3LAYM_REWIND

Method

REWIND

Identifier

R3LAYM_REWIND

JavaScript

obj.REWIND();

Description

Rewind the animation

R3LAYM_PURGE

Method

PURGE

Identifier

R3LAYM_PURGE

Param 3:

R3OBJ*, sub layer

JavaScript

obj.PURGE(p3);

Description

Purge a sub layer

R3LAYM_REGISTEROBJECTDEPENDE

Method

REGISTEROBJECTDEPENDE

Identifier

R3LAYM_REGISTEROBJECTDEPENDE

Return

R3BOOL, TRUE if successful

Param 1:

R3CLID, class id of object which includes the reference

Param 2:

R3CLID, class id of referred object

Param 3:

R3TAG*, dependency check hook and an optional dep. rename hook *

JavaScript

rc = obj.REGISTEROBJECTDEPENDE(p1, p2, p3);

Description

Add a description of object dependency

R3LAYM_ISTIMESENSITIVE

Method

ISTIMESENSITIVE

Identifier

R3LAYM_ISTIMESENSITIVE

Return

R3BOOL, true if time sensitive objects found

JavaScript

rc = obj.ISTIMESENSITIVE();

Description

See if the project contains time sensitive objects.

R3LAYM_NEXTKEY

Method

NEXTKEY

Identifier

R3LAYM_NEXTKEY

Return

R3BOOL, true if succeeded

Param 1:

R3INT, attribute id or 0 for any

Param 2:

R3INT, attribute index or -1 for regular attrs

Param 3:

R3INT, chor index or -1 for the current chor

JavaScript

rc = obj.NEXTKEY(p1, p2, p3);

Description

Jump to the next key.

R3LAYM_PREVKEY

Method

PREVKEY

Identifier

R3LAYM_PREVKEY

Return

R3BOOL, true if succeeded

Param 1:

R3INT, attribute id or 0 for any

Param 2:

R3INT, attribute index or -1 for regular attrs

Param 3:

R3INT, chor index or -1 for the current chor

JavaScript

rc = obj.PREVKEY(p1, p2, p3);

Description

Jump to the previous key.

R3LAYM_PLAYTONEXTKEY

Method

PLAYTONEXTKEY

Identifier

R3LAYM_PLAYTONEXTKEY

Return

R3BOOL, true if succeeded

Param 1:

R3INT, attribute id or 0 for any

Param 2:

R3INT, attribute index or -1 for regular attrs

Param 3:

R3INT, chor index or -1 for the current chor

JavaScript

rc = obj.PLAYTONEXTKEY(p1, p2, p3);

Description

Play the animation to the next key.

R3LAYM_PLAYTOPREVKEY

Method

PLAYTOPREVKEY

Identifier

R3LAYM_PLAYTOPREVKEY

Return

R3BOOL, true if succeeded

Param 1:

R3INT, attribute id or 0 for any

Param 2:

R3INT, attribute index or -1 for regular attrs

Param 3:

R3INT, chor index or -1 for the current chor

JavaScript

rc = obj.PLAYTOPREVKEY(p1, p2, p3);

Description

Play the animation to the previous key.

R3LAYM_GETCURRENTSUBLAYER

Method

GETCURRENTSUBLAYER

Identifier

R3LAYM_GETCURRENTSUBLAYER

Return

R3OBJ*, current sub layer

Param 3:

R3INT, see enum r3layertype codes

JavaScript

rc = obj.GETCURRENTSUBLAYER(p3);

Description

Fetch the layer corresponding to given type (enum r3layertype)

R3LAYM_NEWKEY

Method

NEWKEY

Identifier

R3LAYM_NEWKEY

Return

R3BOOL, true if succeeded

Param 1:

R3INT, attribute id

Param 3:

R3INT, attribute index or -1 for regular attrs

JavaScript

rc = obj.NEWKEY(p1, p3);

Description

Create a new key frame at current time for the currently selected objects * in the current sub layer.

R3LAYM_CHORDOWN

Method

CHORDOWN

Identifier

R3LAYM_CHORDOWN

JavaScript

obj.CHORDOWN();

Description

Move down in the choreography stack.

R3LAYM_CHORUP

Method

CHORUP

Identifier

R3LAYM_CHORUP

JavaScript

obj.CHORUP();

Description

Move up in the choreography stack.

R3LAYM_ENABLEATTRFORKEYFR

Method

ENABLEATTRFORKEYFR

Identifier

R3LAYM_ENABLEATTRFORKEYFR

Param 1:

R3INT, attribute

Param 2:

R3INT, attribute index, or -1 of regular attribute

Param 3:

R3BOOL, enable / disable

JavaScript

obj.ENABLEATTRFORKEYFR(p1, p2, p3);

Description

Enable/disable attribute for keyframing.

R3LAYM_ENABLEALLFORKEYFR

Method

ENABLEALLFORKEYFR

Identifier

R3LAYM_ENABLEALLFORKEYFR

Param 3:

R3BOOL, enable / disable

JavaScript

obj.ENABLEALLFORKEYFR(p3);

Description

Enable/disable all attributes in the selected objects in the current layer.

R3LAYM_FIXATTRSFORKEYFR

Method

FIXATTRSFORKEYFR

Identifier

R3LAYM_FIXATTRSFORKEYFR

Param 3:

R3BOOL, true to fix

JavaScript

obj.FIXATTRSFORKEYFR(p3);

Description

Fix the animated attribute set for the selected objects in the current layer.

R3LAYM_PURGEUNRESOLVEDREFS

Method

PURGEUNRESOLVEDREFS

Identifier

R3LAYM_PURGEUNRESOLVEDREFS

JavaScript

obj.PURGEUNRESOLVEDREFS();

Description

Remove unresolved references, such as keyframe input objects, taggedependants etc.

R3LAYM_DELSELECTEDKEYS

Method

DELSELECTEDKEYS

Identifier

R3LAYM_DELSELECTEDKEYS

Return

R3BOOL, true if succeeded

JavaScript

rc = obj.DELSELECTEDKEYS();

Description

Delete selected key frames in the current sub layer.

R3LAYM_DELCURRENTCHOR

Method

DELCURRENTCHOR

Identifier

R3LAYM_DELCURRENTCHOR

JavaScript

obj.DELCURRENTCHOR();

Description

Delete the current choreography from the selected objects

R3LAYM_FINDIMAGE

Method

FINDIMAGE

Identifier

R3LAYM_FINDIMAGE

Return

R3OBJ*, image obj or NULL if not found

Param 3:

char*, name

JavaScript

rc = obj.FINDIMAGE(p3);

Description

Finds an image object from the current project by its name. The method locks the image layer while searching and increases refcount of the found image. Caller must unref the object after use.

R3LAYM_OPTRESOLVINVALIDATE

Method

OPTRESOLVINVALIDATE

Identifier

R3LAYM_OPTRESOLVINVALIDATE

JavaScript

obj.OPTRESOLVINVALIDATE();

Description

Mark optimization data allocated by * R3LAYM_OPTRESOLVBEGIN invalid. The data will be reallocated when * next R3LAYM_OPTRESOLVBEGIN is called.

R3LAYM_DOPURGEUNRESOLVEDREFS

Method

DOPURGEUNRESOLVEDREFS

Identifier

R3LAYM_DOPURGEUNRESOLVEDREFS

JavaScript

obj.DOPURGEUNRESOLVEDREFS();

Description

Remove unresolved references, such as keyframe input objects, taggedependants etc. Called internally by R3LAYM_PURGEUNRESOLVEDREFS

R3LAYM_SAVESELECTEDGEOMETRY

Method

SAVESELECTEDGEOMETRY

Identifier

R3LAYM_SAVESELECTEDGEOMETRY

Param 3:

char*, name for saving

JavaScript

obj.SAVESELECTEDGEOMETRY(p3);

Description

Saves the selected geometry objects and the materials, effects and images referenced * by the geometrics

R3LAYM_LOADGEOMETRYWITHREFOB

Method

LOADGEOMETRYWITHREFOB

Identifier

R3LAYM_LOADGEOMETRYWITHREFOB

Param 1:

char*, file name

Param 2:

R3INT, see R3LIBACT_ definitions below

Param 3:

R3TAG*, tag list. If R3LAYA_LoadedGeometry is included, the method places the root pointer of the loaded geometry to the address pointed by the tag. The refcount of the returned object is increased - the caller must unref it after use.

JavaScript

obj.LOADGEOMETRYWITHREFOB(p1, p2, p3);

Description

Loads geometry objects from a file and the included materials, effects and images. Library objects and references to them can be auto renamed to avoid name conflicts.

R3LAYM_SHARPENSELECTEDKEYS

Method

SHARPENSELECTEDKEYS

Identifier

R3LAYM_SHARPENSELECTEDKEYS

Return

R3BOOL, true if succeeded

JavaScript

rc = obj.SHARPENSELECTEDKEYS();

Description

Delete selected key frames in the current sub layer.

R3LAYM_CHECKREFERENCES

Method

CHECKREFERENCES

Identifier

R3LAYM_CHECKREFERENCES

Return

R3BOOL, true if the object is referred by another object

Param 3:

R3OBJ*, examined object

JavaScript

rc = obj.CHECKREFERENCES(p3);

Description

Checks if there are any dependencies referring to an object. The method uses dependencies * registered by R3LAYM_REGISTEROBJECTDEPENDENCYHOOK

R3LAYM_RENAMEREFERENCES

Method

RENAMEREFERENCES

Identifier

R3LAYM_RENAMEREFERENCES

Param 1:

char, new name

Param 3:

R3OBJ*, object to be renamed

JavaScript

obj.RENAMEREFERENCES(p1, p3);

Description

Renames name references to a given object

R3LAYM_ADDMISSINGCHANNELS

Method

ADDMISSINGCHANNELS

Identifier

R3LAYM_ADDMISSINGCHANNELS

Return

R3BOOL, true if succeeds

Param 3:

R3INT, section bits. If NULL all sections will be examined for channel addition.

JavaScript

rc = obj.ADDMISSINGCHANNELS(p3);

Description

Checks if there are any dependencies referring to an object. The method uses dependencies * registered by R3LAYM_REGISTEROBJECTDEPENDENCYHOOK

R3LAYCM_ADDCHANNEL

Method

ADDCHANNEL

Identifier

R3LAYCM_ADDCHANNEL

JavaScript

obj.ADDCHANNEL();

Description

R3LAYM_CHORBOTTOM

Method

CHORBOTTOM

Identifier

R3LAYM_CHORBOTTOM

JavaScript

obj.CHORBOTTOM();

Description

Select the first (initial) choreography

R3LAYM_CHORTOP

Method

CHORTOP

Identifier

R3LAYM_CHORTOP

JavaScript

obj.CHORTOP();

Description

Select the most recent choreography.

Prims

Attribute

Prims

Identifier

R3LAYA_Prims

JavaScript type

Object

C type

R3OBJ*

Description

primitives

Syntax


value = jsobj.GetPrims();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Prims, &value, R3TAG_END);

PrimModify

Attribute

PrimModify

Identifier

R3LAYA_PrimModify

JavaScript type

Object

C type

R3OBJ*

Description

primitives are modified in this layer

Syntax


value = jsobj.GetPrimModify();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_PrimModify, &value, R3TAG_END);

Materials

Attribute

Materials

Identifier

R3LAYA_Materials

JavaScript type

Object

C type

R3OBJ*

Description

materials

Syntax


value = jsobj.GetMaterials();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Materials, &value, R3TAG_END);

Envelopes

Attribute

Envelopes

Identifier

R3LAYA_Envelopes

JavaScript type

Object

C type

R3OBJ*

Description

envelopes

Syntax


value = jsobj.GetEnvelopes();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Envelopes, &value, R3TAG_END);

PostImageEffects

Attribute

PostImageEffects

Identifier

R3LAYA_PostImageEffects

JavaScript type

Object

C type

R3OBJ*

Description

post image effects

Syntax


value = jsobj.GetPostImageEffects();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_PostImageEffects, &value, R3TAG_END);

PostParticleEffects

Attribute

PostParticleEffects

Identifier

R3LAYA_PostParticleEffects

JavaScript type

Object

C type

R3OBJ*

Description

post particle effects

Syntax


value = jsobj.GetPostParticleEffects();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_PostParticleEffects, &value, R3TAG_END);

Images

Attribute

Images

Identifier

R3LAYA_Images

JavaScript type

Object

C type

R3OBJ*

Description

images

Syntax


jsobj.SetImages(value);
value = jsobj.GetImages();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_Images, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Images, &value, R3TAG_END);

Grids

Attribute

Grids

Identifier

R3LAYA_Grids

JavaScript type

Object

C type

R3OBJ*

Description

grids

Syntax


value = jsobj.GetGrids();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Grids, &value, R3TAG_END);

Animator

Attribute

Animator

Identifier

R3LAYA_Animator

JavaScript type

Object

C type

R3OBJ*

Description

animator

Syntax


jsobj.SetAnimator(value);
value = jsobj.GetAnimator();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_Animator, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Animator, &value, R3TAG_END);

ClipBoard

Attribute

ClipBoard

Identifier

R3LAYA_ClipBoard

JavaScript type

Object

C type

R3OBJ*

Description

clipboard layer

Syntax


jsobj.SetClipBoard(value);


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_ClipBoard, value, R3TAG_END);

Interactor

Attribute

Interactor

Identifier

R3LAYA_Interactor

JavaScript type

Object

C type

R3OBJ*

Description

current interactor

Syntax


value = jsobj.GetInteractor();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Interactor, &value, R3TAG_END);

WireMaterialEvaluator

Attribute

WireMaterialEvaluator

Identifier

R3LAYA_WireMaterialEvaluator

JavaScript type

Object

C type

R3OBJ*

Description

material evaluator object

Syntax


value = jsobj.GetWireMaterialEvaluator();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_WireMaterialEvaluator, &value, R3TAG_END);

WireMaterialEvaluator

Attribute

WireMaterialEvaluator

Identifier

R3LAYA_WireMaterialEvaluator

JavaScript type

Object

C type

R3OBJ*

Description

material evaluator for the interaction layer

Syntax


value = jsobj.GetWireMaterialEvaluator();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_WireMaterialEvaluatorModify, &value, R3TAG_END);

ProgressIndicator

Attribute

ProgressIndicator

Identifier

R3LAYA_ProgressIndicator

JavaScript type

Object

C type

R3OBJ*

Description

progress indicator

Syntax


jsobj.SetProgressIndicator(value);
value = jsobj.GetProgressIndicator();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_ProgressIndicator, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_ProgressIndicator, &value, R3TAG_END);

Painter3D

Attribute

Painter3D

Identifier

R3LAYA_Painter3D

JavaScript type

Object

C type

R3OBJ*

Description

3d painter object

Syntax


value = jsobj.GetPainter3D();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Painter3D, &value, R3TAG_END);

Painter2D

Attribute

Painter2D

Identifier

R3LAYA_Painter2D

JavaScript type

Object

C type

R3OBJ*

Description

2d painter object

Syntax


value = jsobj.GetPainter2D();


R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Painter2D, &value, R3TAG_END);

AnimRecord

Attribute

AnimRecord

Identifier

R3LAYA_AnimRecord

JavaScript type

Boolean

C type

R3BOOL

Description

set/reset animation recording mode

Syntax


value = jsobj.GetAnimRecord();


R3BOOL value;
R3GetAttrs(r3obj, R3LAYA_AnimRecord, &value, R3TAG_END);

Removable

Attribute

Removable

Identifier

R3LAYA_Removable

JavaScript type

Boolean

C type

R3BOOL

Description

if true, this layer cannot be deleted

Syntax


jsobj.SetRemovable(value);
value = jsobj.GetRemovable();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3LAYA_Removable, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3LAYA_Removable, &value, R3TAG_END);

UnitConverter

Attribute

UnitConverter

Identifier

R3LAYA_UnitConverter

JavaScript type

Object

C type

R3OBJ*

Description

unit converter

Syntax


jsobj.SetUnitConverter(value);
value = jsobj.GetUnitConverter();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_UnitConverter, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_UnitConverter, &value, R3TAG_END);

RewindObj

Attribute

RewindObj

Identifier

R3LAYA_RewindObj

JavaScript type

Object

C type

R3OBJ*

Description

callback

Syntax


jsobj.SetRewindObj(value);


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_RewindObj, value, R3TAG_END);

RewindMth

Attribute

RewindMth

Identifier

R3LAYA_RewindMth

JavaScript type

Integer

C type

R3INT*

Description

Syntax


jsobj.SetRewindMth(value);


R3INT* value = ...;
R3SetAttrs(r3obj, R3LAYA_RewindMth, value, R3TAG_END);

StartPlayMth

Attribute

StartPlayMth

Identifier

R3LAYA_StartPlayMth

JavaScript type

Integer

C type

R3INT

Description

start anim. play method

Syntax


jsobj.SetStartPlayMth(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3LAYA_StartPlayMth, value, R3TAG_END);

UserChannels

Attribute

UserChannels

Identifier

R3LAYA_UserChannels

JavaScript type

Object

C type

R3OBJ*

Description

user defined channels

Syntax


jsobj.SetUserChannels(value);
value = jsobj.GetUserChannels();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_UserChannels, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_UserChannels, &value, R3TAG_END);

Saved

Attribute

Saved

Identifier

R3LAYA_Saved

JavaScript type

Boolean

C type

R3BOOL

Description

true if project saved once (and it has well defined name)

Syntax


jsobj.SetSaved(value);
value = jsobj.GetSaved();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3LAYA_Saved, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3LAYA_Saved, &value, R3TAG_END);

Thumbnail

Attribute

Thumbnail

Identifier

R3LAYA_Thumbnail

JavaScript type

Object

C type

R3OBJ*

Description

project's thumbnail object

Syntax


jsobj.SetThumbnail(value);
value = jsobj.GetThumbnail();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_Thumbnail, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Thumbnail, &value, R3TAG_END);

AsyncExecutor

Attribute

AsyncExecutor

Identifier

R3LAYA_AsyncExecutor

JavaScript type

Object

C type

R3OBJ*

Description

async. executor object

Syntax


jsobj.SetAsyncExecutor(value);
value = jsobj.GetAsyncExecutor();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_AsyncExecutor, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_AsyncExecutor, &value, R3TAG_END);

RenderSettings

Attribute

RenderSettings

Identifier

R3LAYA_RenderSettings

JavaScript type

Object

C type

R3OBJ*

Description

render settings list

Syntax


jsobj.SetRenderSettings(value);
value = jsobj.GetRenderSettings();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_RenderSettings, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_RenderSettings, &value, R3TAG_END);

ViewModels

Attribute

ViewModels

Identifier

R3LAYA_ViewModels

JavaScript type

Object

C type

R3OBJ*

Description

view models

Syntax


jsobj.SetViewModels(value);
value = jsobj.GetViewModels();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_ViewModels, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_ViewModels, &value, R3TAG_END);

UndoDepth

Attribute

UndoDepth

Identifier

R3LAYA_UndoDepth

JavaScript type

Integer

C type

R3INT

Description

undo depth for all sub layers, write only

Syntax


jsobj.SetUndoDepth(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3LAYA_UndoDepth, value, R3TAG_END);

FileRenderers

Attribute

FileRenderers

Identifier

R3LAYA_FileRenderers

JavaScript type

Object

C type

R3OBJ*

Description

file render settings list

Syntax


jsobj.SetFileRenderers(value);
value = jsobj.GetFileRenderers();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_FileRenderers, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_FileRenderers, &value, R3TAG_END);

Outputs

Attribute

Outputs

Identifier

R3LAYA_Outputs

JavaScript type

Object

C type

R3OBJ*

Description

output object list

Syntax


jsobj.SetOutputs(value);
value = jsobj.GetOutputs();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_Outputs, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Outputs, &value, R3TAG_END);

CurrentType

Attribute

CurrentType

Identifier

R3LAYA_CurrentType

JavaScript type

Integer

C type

R3INT

Description

see enum r3animlayers

Syntax


jsobj.SetCurrentType(value);
value = jsobj.GetCurrentType();


R3INT value = ...;
R3SetAttrs(r3obj, R3LAYA_CurrentType, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3LAYA_CurrentType, &value, R3TAG_END);

Filer

Attribute

Filer

Identifier

R3LAYA_Filer

JavaScript type

Object

C type

R3OBJ*

Description

filer object

Syntax


jsobj.SetFiler(value);
value = jsobj.GetFiler();


R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LAYA_Filer, value, R3TAG_END);
R3OBJ* value;
R3GetAttrs(r3obj, R3LAYA_Filer, &value, R3TAG_END);

macro targets

R3MTN_PRIMS

R3LAYALT_NONE
R3LAYALT_PRIMITIVES
R3LAYALT_MATERIALS
R3LAYALT_IMAGES
R3LAYALT_IMAGEEFFECTS
R3LAYALT_PARTICLEEFFECTS

p2 values for LOADGEOMETRYWITHREFOBJS method

R3LIBACT_LOADONLYNEW
R3LIBACT_LOADALL
R3LIBACT_RENAMEDUPLICATES
R3LIBACT_NOLOAD

IFF chunk ids for io

Flags for R3LAYA_Stripped

R3LSTRIPF_WMATEV
R3LSTRIPF_ANIMATOR
R3LSTRIPF_PAINTERS
R3LSTRIPF_INTERACTORS


r3appobj *

Tags

Tags

R3LAYA_SelfDependent
R3LAYA_LoadedGeometry
R3LAYA_Stripped