Show / Hide Table of Contents

Class LoadImageFileToSprite

Inheritance
System.Object
LoadImageFileToSprite
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Alegra.DimSums
Assembly: cs.temp.dll.dll
Syntax
public static class LoadImageFileToSprite

Methods

LoadNewSprite(String, Single, SpriteMeshType)

Declaration
public static Sprite LoadNewSprite(string FilePath, float PixelsPerUnit = 100F, SpriteMeshType spriteType = null)
Parameters
Type Name Description
System.String FilePath
System.Single PixelsPerUnit
SpriteMeshType spriteType
Returns
Type Description
Sprite

LoadTexture(String)

Declaration
public static Texture2D LoadTexture(string FilePath)
Parameters
Type Name Description
System.String FilePath
Returns
Type Description
Texture2D
Back to top Generated by DocFX