Class Validation.TextureInfoAttribute
- Namespace
- Lime
- Assembly
- Lime.dll
public abstract class Validation.TextureInfoAttribute : Attribute, Validation.IRequireOwner<Node>, Validation.IRequireOwner, Validation.IValidator<Vector2>, Validation.IValidator
- Inheritance
-
Validation.TextureInfoAttribute
- Implements
- Derived
- Inherited Members
Constructors
TextureInfoAttribute(params Type[])
public TextureInfoAttribute(params Type[] validatableTypes)
Parameters
validatableTypes
Type[]
Properties
Owner
public Node Owner { get; set; }
Property Value
Methods
Validate(ISprite, Vector2)
protected abstract IEnumerable<(Validation.Result, string)> Validate(ISprite sprite, Vector2 size)
Parameters
Returns
Validate(Vector2)
public IEnumerable<(Validation.Result Result, string Message)> Validate(Vector2 size)
Parameters
size
Vector2