快速登录:  

Forum: VirtualDJ Technical Support

话题: Rotation of VDJ element (Skin SDK)

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

I was looking on entire SDK and I couldn't find it. Is there any way to rotate the element (same like changing the orientation to vertical or horisontal) at for example 45degree angle. Thanks in andvance.
 

发表时间 Wed 29 May 19 @ 9:02 am
NicotuxHome userMember since 2014
as far as i know only <visual> element can with a fixed value - not really usefull, too limited
I didn't tested this for some time

was working some times ago but seems obsoleted:
<visual type="rotation" source="get_constant '45'" factor="-360" >
..<pos x="+0" y="+0"/>
..<size width="198" height="198"/>
..<on x="1111" y="1772"/>
..<clipmask x="829" y="1790" width="81" height="82" />
</visual>

now seems have to do it by hand:
<visual type="rotation" source="get_constant '12.5%' " >
..<pos x="+0" y="+0"/>
..<size width="198" height="198"/>
..<on x="1111" y="1772"/>
..<clipmask x="829" y="1790" width="81" height="82" />
</visual>

<cover> can rotate but apparently only getting rotation

<cover rotate="yes">
...<pos x="+17" y="+17" />
..<size width="198" height="198" />
..<clipmask x="829" y="1790" width="81" height="82" />
</cover>
 

发表时间 Wed 29 May 19 @ 2:48 pm
I don't think he wants it to actually move, just for it to be at 45 degrees.
 

发表时间 Wed 29 May 19 @ 4:13 pm
NicotuxHome userMember since 2014
You are right i think so, this is why i said <visual type="rotation" source="get_constant '12.5%' " >
badly it's not the good syntax, extra quotes

the rea
<visual type="rotation" source="get constant 0.125">
<visual type="rotation" source="get constant 12.5%">
 

发表时间 Thu 30 May 19 @ 3:35 am
NicotuxHome userMember since 2014
the rea*

the real working syntaxes are :


 

发表时间 Thu 30 May 19 @ 3:39 am
@groovindj @Nicotux Yes, i just want it to stay fixed. Thank you for your replies, i will try it out!
 

发表时间 Thu 30 May 19 @ 7:27 am


(陈旧帖子或论坛版块会自动关闭)