Change-Id: I278a3a9d4ae30f2d25ee972d6864d586d3482d49
mOffscreenRootActor.SetInheritScale( false );
mOffscreenRootActor.SetDepthTestDisabled( true );
mOffscreenRootActor.SetSize( offscreenSize );
mOffscreenRootActor.SetInheritScale( false );
mOffscreenRootActor.SetDepthTestDisabled( true );
mOffscreenRootActor.SetSize( offscreenSize );
- mOffscreenRootActor.SetPosition( 0.0f, 0.0f, 0.0f );
mImageActor = ImageActor::New();
mImageActor = ImageActor::New();
- mImageActor.SetAnchorPoint( ParentOrigin::CENTER );
mImageActor.SetParentOrigin( ParentOrigin::CENTER );
mImageActor.SetBlendFunc( BlendingFactor::ONE, BlendingFactor::ONE_MINUS_SRC_ALPHA,
BlendingFactor::ONE, BlendingFactor::ONE );
mImageActor.SetParentOrigin( ParentOrigin::CENTER );
mImageActor.SetBlendFunc( BlendingFactor::ONE, BlendingFactor::ONE_MINUS_SRC_ALPHA,
BlendingFactor::ONE, BlendingFactor::ONE );
// Creates a new camera actor.
mOffscreenCameraActor = CameraActor::New();
mOffscreenCameraActor.SetParentOrigin( ParentOrigin::CENTER );
// Creates a new camera actor.
mOffscreenCameraActor = CameraActor::New();
mOffscreenCameraActor.SetParentOrigin( ParentOrigin::CENTER );
- mOffscreenCameraActor.SetAnchorPoint( AnchorPoint::CENTER );
- mOffscreenCameraActor.SetRotation(Degree(180.f), Vector3::YAXIS);
- mOffscreenCameraActor.SetType( Dali::Camera::FREE_LOOK ); // Inherits position from the offscreen root actor.
mOffscreenCameraActor.SetOrthographicProjection( offscreenSize );
mOffscreenRootActor.Add( mOffscreenCameraActor ); // camera to shoot the offscreen text
// Creates a new render task.
mRenderTask = Stage::GetCurrent().GetRenderTaskList().CreateTask();
mRenderTask.SetSourceActor( mOffscreenRootActor );
mOffscreenCameraActor.SetOrthographicProjection( offscreenSize );
mOffscreenRootActor.Add( mOffscreenCameraActor ); // camera to shoot the offscreen text
// Creates a new render task.
mRenderTask = Stage::GetCurrent().GetRenderTaskList().CreateTask();
mRenderTask.SetSourceActor( mOffscreenRootActor );
- mRenderTask.SetInputEnabled( false );
mRenderTask.SetClearColor( Color::TRANSPARENT );
mRenderTask.SetClearEnabled( true );
mRenderTask.SetExclusive( true );
mRenderTask.SetClearColor( Color::TRANSPARENT );
mRenderTask.SetClearEnabled( true );
mRenderTask.SetExclusive( true );