Click or drag to resize
DigitalRuneSpriteNodeOrigin Property
Gets or sets the 2D origin of the sprite relative to the scene node.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Vector2F Origin { get; set; }

Property Value

Type: Vector2F
The 2D origin of the sprite relative to the scene node. (0, 0) is the upper-left corner of the sprite and (1, 1) is the lower-right corner of the sprite. The default value is (0, 0).
See Also