Projector Actors
Projector actors simulate a gobo or spotlight effect by projecting a texture onto scene geometry.
- Sub CreateProjectorActor()
Create a projector actor. Projector actors can be used to project a texture over objects in its field of view.
- Sub SetProjectorTarget(actor, x, y, z)
Set the point a projector is pointed at
- Sub GetProjectorTarget(actor, ByRef x, ByRef y, ByRef z)
Get the point a projector is looking at
See also
- Sub SetProjectorFOV(actor, fov)
Set the field of view for a projector
See also
- Function GetProjectorFOV(actor)
Returns the field of view for a projector
See also
- Sub SetProjectorTexture(actor, img_id)
Sets the texture that is projected by a projector.
See also
- Function GetProjectorTexture(actor)
Returns the image currently being projected by the projector.
See also
- Function AddProjectorEffectActor(actor, tgt_actor)
Add an effect actor from a projector.
Returns the index of the effect actor in the projector.
Refer to the included Projector Demo for an example
See also
- Function GetProjectorEffectActorCount(actor)
Returns the number of effect actors on a projector.
- Function GetProjectorEffectActor(actor, tgt_index)
Sets the texture that is projected by a projector.
See also
- Sub RemoveProjectorEffectActor(actor, tgt_index)
Removes an effect actor from a projector.
NOTE: Removing an effect actor will change the order of other effect actors so you will need to get the new index for other effect actors.
Refer to the included Projector Demo for an example
See also