| SpriteNodeOrigin Property |
Gets or sets the 2D origin of the sprite relative to the scene node.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public Vector2F Origin { get; set; }
Public Property Origin As Vector2F
Get
Set
public:
property Vector2F Origin {
Vector2F get ();
void set (Vector2F value);
}
member Origin : Vector2F with 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