本文整理汇总了C#中Angle类的典型用法代码示例。如果您正苦于以下问题:C#Angle类的具体用法?C#Angle怎么用?C#Angle使用的例子?这里精选的类代码示例或许可以为您提供帮助。
示例1:Camera ///
///Defaultconstructor. /// publicCamera(Scenescene) { _scene=scene; //setdefaultpositioning _position=newVector(0.0,0.0,9.0); _upVec=newVector(0.0,1.0,0.0); _center=newVector(); //setdefaultfieldofview fov=newAngle(); fov["deg"]=28.0; //setdefaultinteractionfactors dollyFactor=0.15; panFactor=0.05; lastDirection=ViewDirection.Front;
Frustum=newFrustumDef();
DefaultAnimationOptions.Duration=4.0; DefaultAnimationOptions.EaseType=EaseType.Quadratic;
UseInertia=true; InertiaAnimationOptions=newAnimationOptions(){ Duration=6.0, EaseType=EaseType.Linear }; InertiaType=InteractionType.None; }
原文链接:
http://www.jxszl.com/biancheng/C/556532.html