Dynamic Texture

From Blue Mars Developer Guidebook

Jump to: navigation, search
There are security restrictions on this article

Contents

Overview

You can invoke method defined in Flash move which is assigned on a geometry entity.

API

ARVirtualWorld.InvokeFlashMethod

ARVirtualWorld.InvokeFlashMethod (entity, "MethodName", {arg1, [arg2, ...]})

Parameters

entity: Target geometry entity which is assigned a Flash movie as a texture.

MethodName: Method name defined in Flash movie.

{arg1, arg2, ...}: Parameters for Flash method. This must be a table. You can pass string, number or boolean value.

Return

True if the function call was done, otherwise false.

Detail

Invokes method defined in Flash movie assigned on specified geom entity.


Example

ARVirtualWorld.InvokeFlashMethod (ent, "UpdateText", {"Hello!"})

This example calls "UpdateText" function with string parameter "Hello!".

Problems with this wiki page? Contact us either by: Support Email or Support Ticket System

Blue Mars Guidebook Privacy Policy
Blue Mars Guidebook Community Guidelines

Personal tools