Axiom.Core.SceneNode.LookAt C# (CSharp) Метод

LookAt() публичный Метод

Points the local Z direction of this node at a point in space.
public LookAt ( Vector3 target, TransformSpace relativeTo, Vector3 localDirection ) : void
target Vector3 A vector specifying the look at point.
relativeTo TransformSpace The space in which the point resides.
localDirection Vector3 /// The vector which normally describes the natural direction of the node, usually -Z. ///
Результат void
		public void LookAt( Vector3 target, TransformSpace relativeTo, Vector3 localDirection )
		{
			SetDirection( target - this.DerivedPosition, relativeTo, localDirection );
		}

Same methods

SceneNode::LookAt ( Vector3 target, TransformSpace relativeTo ) : void