Skip to content

Latest commit

 

History

History
182 lines (74 loc) · 4.02 KB

File metadata and controls

182 lines (74 loc) · 4.02 KB

Group

Summary

Modifies grouped items

Instance Properties

NameReturn TypeDescription
imagesImageList
Read-only
All the images in this group
videosVideoList
Read-only
All the videos in this group
modelsModelList
Read-only
All the models in this group
guidesGuideList
Read-only
All the guides in this group
cameraPathsCameraPathList
Read-only
All the camera paths in this group

Class Methods

Group:New()

Creates and returns a new empty group

Returns: Group (The new group)

Example

myGroup = Group:New()

Instance Methods

group:Add(image)

Adds an image to this group moving it to the group's layer if necessary

Returns: nil

Parameters:

NameTypeDefaultDescription
imageImageThe image to add

Example

myGroup:Add(myImage)

group:Add(video)

Adds a video to this group moving it to the group's layer if necessary

Returns: nil

Parameters:

NameTypeDefaultDescription
videoVideoThe video to add

Example

myGroup:Add(myVideo)

group:Add(model)

Adds a model to this group moving it to the group's layer if necessary

Returns: nil

Parameters:

NameTypeDefaultDescription
modelModelThe model to add

Example

myGroup:Add(myModel)

group:Add(guide)

Adds a guide to this group moving it to the group's layer if necessary

Returns: nil

Parameters:

NameTypeDefaultDescription
guideGuideThe guide to add

Example

myGroup:Add(myGuide)

group:Add(cameraPath)

Adds an image to this group moving it to the group's layer if necessary

Returns: nil

Parameters:

NameTypeDefaultDescription
cameraPathCameraPathThe CameraPath to add

Example

myGroup:Add(myCameraPath)

group:Add(stroke)

Adds a stroke to this group moving it to the group's layer if necessary

Returns: nil

Parameters:

NameTypeDefaultDescription
strokeStrokeThe Stroke to add

Example

myGroup:Add(mystroke)