Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Mirror part of layer

Guest
Sep 29, 2017 Sep 29, 2017

Hi,

I'm trying to copy and mirror a rectangle of layer from one PF_EffectWorld to another.

I'm sure it's possible to do it using some of the functions in WorldTransformSuite1, but haven't figured it out yet.

Can someone help me?

Thank you for your time.

TOPICS
SDK
355
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Sep 30, 2017 Sep 30, 2017

Hi!

I think what you're looking for is WorldTransformSuite1()->transform_world().

It takes 1 (or 2 if you use MotionBlur) matrix. There you can change the values of the matrix as you wish to perform any 2D transformation.

Cheers,

François

Translate
Guest
Sep 29, 2017 Sep 29, 2017

I've written a pixel function that mirrors image as I need it.

I'll mark this as answered, however should someone find a way to use provided function please let me know.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 30, 2017 Sep 30, 2017
LATEST

Hi!

I think what you're looking for is WorldTransformSuite1()->transform_world().

It takes 1 (or 2 if you use MotionBlur) matrix. There you can change the values of the matrix as you wish to perform any 2D transformation.

Cheers,

François

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines