Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

Hi guys.  Can anyone help me with the code i need to put in CTC user source to get a 3D box model?

What i want is to just add a moveable box separate to the wheel like in Unified refried.

I compared the old and new xamls and found this, but in reality i have no idea what i'm doing so any help would be amazing.

<coverFlow:FlowModel DataContext="{Binding ActiveGame}" RotationAxis="0.2,1,0" RotationAngle="25" CanManuallyRotate="True" FieldOfView="30" />

 

Edited by PaulyC
Posted

Need to make sure you have the "coverFlow" namespace defined at the top of the file. Ensure you have the following with the other lines that start with xmlns
xmlns:coverFlow="clr-namespace:Unbroken.LaunchBox.Windows.Controls.CoverFlow;assembly=Unbroken.LaunchBox.Windows"

Other than that what you have looks accurate. Is there something specifically not working?

Posted

Thanks for the reply.  I can't get it to work at all in CTC,  i have no idea what i'm doing tbh

And i think i've just broke it as well as it just crashes every time i load it now i added the line below in the user source lol

xmlns:coverFlow="clr-namespace:Unbroken.LaunchBox.Windows.Controls.CoverFlow;assembly=Unbroken.LaunchBox.Windows

 

Posted

Ah apologies didn't read that you are looking to have it work in CTC. I'm unsure if it's possible to do this in CTC or would it would require if it was possible as I don't use that application.

Posted

OK no problem, y2guru isn't sure either and told me to ask here so maybe it isn't possible yet.

I did try putting it directly in CTC's created xaml after publishing as well but didn't have any joy there either.

Thanks for the help anyway 👍

 

Posted

My guess is that you can add it as a user source in the CTC, but the CTC won't know what to do with it and probably provide an error. There should be a checkbox that allows you to stop it from trying to render that element in the CTC. When you publish the theme, you'll see the 3D Model in Big Box.

The only way you would be able to see this Model in the CTC is when the 3D Model is added as a native element within the CTC.

Posted
14 minutes ago, faeran said:

My guess is that you can add it as a user source in the CTC, but the CTC won't know what to do with it and probably provide an error. There should be a checkbox that allows you to stop it from trying to render that element in the CTC. When you publish the theme, you'll see the 3D Model in Big Box.

The only way you would be able to see this Model in the CTC is when the 3D Model is added as a native element within the CTC.

Thank you so much buddy it worked!!

I used the code

<coverFlow:FlowModel DataContext="{Binding ActiveGame}" RotationAxis="0.2,1,0" RotationAngle="25" CanManuallyRotate="True" FieldOfView="30" />

as a user source and after unchecking "designer friendly" and publishing it worked perfectly 👍👍

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...