Referenceerror Matrix4x4 is not defined

Mar 15, 2018

Copy link to clipboard

Copied

  the js file is attached to the 1.7 PDF file.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

80

Likes

Translate

Translate

Report

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

Referenceerror Matrix4x4 is not defined

Mar 15, 2018

Copy link to clipboard

Copied

  the js file is attached to the 1.7 PDF file.

TOPICS
Acrobat SDK and JavaScript, Windows

Views

81

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 15, 2018 0
Adobe Community Professional ,
Mar 15, 2018

Copy link to clipboard

Copied

You'll have to provide more details.  How is this JS attached? and what is it doing?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 15, 2018 0
Mar 16, 2018

Copy link to clipboard

Copied

It is attached using the Haru Free PDF Library 2.4. It should set a Matrix4x4 for a node, I'm trying  to do this with this line of code:

myNewMatrix4x4= new Matrix4x4();

my3d.scene.nodes.getByIndex(0).transform.set(myNewMatrix4x4) );

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 16, 2018 0
Adobe Community Professional ,
Mar 16, 2018

Copy link to clipboard

Copied

You didn't mention this was a 3D script. You are in the wrong forum.

Ask your question in this forum:

Rich Media & 3D

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 16, 2018 0