0

How can I zoom in and out in Helix with SharpDX with C#

MichaeInsberg402 4 years ago updated by ก็หมวย นี่คะ 4 days ago 207

I try to zoom in and out in the code behind.

<hx:Viewport3DX
            Name="Viewport"
            BackgroundColor="Black"
            Camera="{Binding Camera}"
            EffectsManager="{Binding EffectsManager}"
            ShowViewCube="False">
</hx:Viewport3DX>


public OrthographicCamera Camera { get; }

public void ZoomIn()
{
  var newPosition = new Point3D(Camera.Position.X, Camera.Position.Y, Camera.Position.Z * 1.5);
  Camera.AnimateTo(newPosition, Camera.LookDirection, Camera.UpDirection, 500);
} 

but nothing changed.


The Camera.Position.Z was changed but not the view of hte application.


Any suggestions?

Greeting Michael

You seemed to have thought of everything in this topic! I will save your site and come back here real soon to read more informative post from you.

sa gaming

เล่นคาสิโนsa gamingเว็บไหนดี

เล่นคาสิโนสดsa gamingเว็บไหนดี

These are great wise words from the voice of experience and talented person like you! Thank your for sharing all of this and more motivating us.

pg slot

ทางเข้าเว็บสล็อตPG Slot

ทางเข้าเล่นเว็บสล็อตออนไลน์PG Slot

I will encourage my friends to follow your amazing website to read all your extremely useful and valuable blogs.

itp slot

ทางเข้าเว็บสล็อตITP Slot

ทางเข้าเว็บสล็อตITP Slotบนมือถือ

These are great wise words from the voice of experience and talented person like you! Thank your for sharing all of this and more motivating us.

Spade Gaming

ทางเข้าเว็บสล็อตSpade Gaming

ทางเข้าเว็บสล็อตSpade Gamingบนมือถือ

These are great wise words from the voice of experience and talented person like you! Thank your for sharing all of this and more motivating us.

gold diamond gaming

ทางเข้าเล่นคาสิโนgold diamond gaming

ทางเข้าเล่นgdg casino

You seemed to have thought of everything in this topic! I will save your site and come back here real soon to read more informative post from you.

Joker Gaming

ทางเข้าเว็บสล็อตJoker Gaming

ทางเข้าเว็บสล็อตJoker Gamingบนมือถือ

These are great wise words from the voice of experience and talented person like you! Thank your for sharing all of this and more motivating us.

sexy baccara

เล่นคาสิโนsexy baccaratเว็บไหนดี

เล่นคาสิโนsexy baccaratเว็บไหนดีpantip

You seemed to have thought of everything in this topic! I will save your site and come back here real soon to read more informative post from you.

Red Tiger

ทางเข้าเว็บสล็อตRed Tiger

ทางเข้าเว็บสล็อตRed Tigerบนมือถือ

These are great wise words from the voice of experience and talented person like you! Thank your for sharing all of this and more motivating us.

เล่นบอลตู้

สมัครเล่นบอลตู้

สมัครแทงบอลvirtual sports

I will encourage my friends to follow your amazing website to read all your extremely useful and valuable blogs.

Red Tiger

ทางเข้าเว็บสล็อตRed Tiger

ทางเข้าเว็บสล็อตRed Tigerบนมือถือ

These are great wise words from the voice of experience and talented person like you! Thank your for sharing all of this and more motivating us.

แทงบอลออนไลน์

เว็บพนันบอลไม่ผ่านเอเย่นต์

เดิมพันบอลเว็บตรง

We help them as much as we can.I have saved your site to my bookmarks. พนันมวยสด

Hi there , I’m Wilson. So I've been wanting to ask you something for a problem/issue with เดิมพันมวยออนไลน์

Any suggestion would be greatly appreciate.