1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-14 02:09:08 +01:00
MLEM/Docs/api/MLEM.Data.DataTextureAtlasExtensions.yml

432 lines
14 KiB
YAML
Generated

### YamlMime:ManagedReference
items:
- uid: MLEM.Data.DataTextureAtlasExtensions
commentId: T:MLEM.Data.DataTextureAtlasExtensions
id: DataTextureAtlasExtensions
parent: MLEM.Data
children:
- MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String,System.Boolean)
langs:
- csharp
- vb
name: DataTextureAtlasExtensions
nameWithType: DataTextureAtlasExtensions
fullName: MLEM.Data.DataTextureAtlasExtensions
type: Class
source:
remote:
path: MLEM.Data/DataTextureAtlas.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: DataTextureAtlasExtensions
path: ../MLEM.Data/DataTextureAtlas.cs
startLine: 220
assemblies:
- MLEM.Data
namespace: MLEM.Data
summary: A set of extension methods for dealing with <xref href="MLEM.Data.DataTextureAtlas" data-throw-if-not-resolved="false"></xref>.
example: []
syntax:
content: public static class DataTextureAtlasExtensions
content.vb: Public Module DataTextureAtlasExtensions
inheritance:
- System.Object
inheritedMembers:
- System.Object.ToString
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- uid: MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String,System.Boolean)
commentId: M:MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String,System.Boolean)
id: LoadTextureAtlas(Microsoft.Xna.Framework.Content.ContentManager,System.String,System.String,System.Boolean)
isExtensionMethod: true
parent: MLEM.Data.DataTextureAtlasExtensions
langs:
- csharp
- vb
name: LoadTextureAtlas(ContentManager, string, string, bool)
nameWithType: DataTextureAtlasExtensions.LoadTextureAtlas(ContentManager, string, string, bool)
fullName: MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas(Microsoft.Xna.Framework.Content.ContentManager, string, string, bool)
type: Method
source:
remote:
path: MLEM.Data/DataTextureAtlas.cs
branch: main
repo: https://github.com/Ellpeck/MLEM
id: LoadTextureAtlas
path: ../MLEM.Data/DataTextureAtlas.cs
startLine: 231
assemblies:
- MLEM.Data
namespace: MLEM.Data
summary: >-
Loads a <xref href="MLEM.Data.DataTextureAtlas" data-throw-if-not-resolved="false"></xref> from the given texture and texture data file.
For more information on data texture atlases, see the <xref href="MLEM.Data.DataTextureAtlas" data-throw-if-not-resolved="false"></xref> type documentation.
example: []
syntax:
content: public static DataTextureAtlas LoadTextureAtlas(this ContentManager content, string texturePath, string infoPath = null, bool pivotRelative = false)
parameters:
- id: content
type: Microsoft.Xna.Framework.Content.ContentManager
description: The content manager to use for loading
- id: texturePath
type: System.String
description: The path to the texture file
- id: infoPath
type: System.String
description: The path, including extension, to the atlas info file, or null if "<code class="paramref">texturePath</code>.atlas" should be used
- id: pivotRelative
type: System.Boolean
description: If this value is true, then the pivot points passed in the info file will be relative to the coordinates of the texture region, not relative to the entire texture's origin.
return:
type: MLEM.Data.DataTextureAtlas
description: A new data texture atlas with the given settings
content.vb: Public Shared Function LoadTextureAtlas(content As ContentManager, texturePath As String, infoPath As String = Nothing, pivotRelative As Boolean = False) As DataTextureAtlas
overload: MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas*
nameWithType.vb: DataTextureAtlasExtensions.LoadTextureAtlas(ContentManager, String, String, Boolean)
fullName.vb: MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas(Microsoft.Xna.Framework.Content.ContentManager, String, String, Boolean)
name.vb: LoadTextureAtlas(ContentManager, String, String, Boolean)
references:
- uid: MLEM.Data.DataTextureAtlas
commentId: T:MLEM.Data.DataTextureAtlas
parent: MLEM.Data
href: MLEM.Data.DataTextureAtlas.html
name: DataTextureAtlas
nameWithType: DataTextureAtlas
fullName: MLEM.Data.DataTextureAtlas
- uid: MLEM.Data
commentId: N:MLEM.Data
href: MLEM.html
name: MLEM.Data
nameWithType: MLEM.Data
fullName: MLEM.Data
spec.csharp:
- uid: MLEM
name: MLEM
href: MLEM.html
- name: .
- uid: MLEM.Data
name: Data
href: MLEM.Data.html
spec.vb:
- uid: MLEM
name: MLEM
href: MLEM.html
- name: .
- uid: MLEM.Data
name: Data
href: MLEM.Data.html
- uid: System.Object
commentId: T:System.Object
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
name: object
nameWithType: object
fullName: object
nameWithType.vb: Object
fullName.vb: Object
name.vb: Object
- uid: System.Object.ToString
commentId: M:System.Object.ToString
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
name: ToString()
nameWithType: object.ToString()
fullName: object.ToString()
nameWithType.vb: Object.ToString()
fullName.vb: Object.ToString()
spec.csharp:
- uid: System.Object.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
- name: (
- name: )
spec.vb:
- uid: System.Object.ToString
name: ToString
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.tostring
- name: (
- name: )
- uid: System.Object.Equals(System.Object)
commentId: M:System.Object.Equals(System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
name: Equals(object)
nameWithType: object.Equals(object)
fullName: object.Equals(object)
nameWithType.vb: Object.Equals(Object)
fullName.vb: Object.Equals(Object)
name.vb: Equals(Object)
spec.csharp:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.Equals(System.Object,System.Object)
commentId: M:System.Object.Equals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
name: Equals(object, object)
nameWithType: object.Equals(object, object)
fullName: object.Equals(object, object)
nameWithType.vb: Object.Equals(Object, Object)
fullName.vb: Object.Equals(Object, Object)
name.vb: Equals(Object, Object)
spec.csharp:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.Equals(System.Object,System.Object)
name: Equals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
commentId: M:System.Object.ReferenceEquals(System.Object,System.Object)
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
name: ReferenceEquals(object, object)
nameWithType: object.ReferenceEquals(object, object)
fullName: object.ReferenceEquals(object, object)
nameWithType.vb: Object.ReferenceEquals(Object, Object)
fullName.vb: Object.ReferenceEquals(Object, Object)
name.vb: ReferenceEquals(Object, Object)
spec.csharp:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
spec.vb:
- uid: System.Object.ReferenceEquals(System.Object,System.Object)
name: ReferenceEquals
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.referenceequals
- name: (
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: ','
- name: " "
- uid: System.Object
name: Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object
- name: )
- uid: System.Object.GetHashCode
commentId: M:System.Object.GetHashCode
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
name: GetHashCode()
nameWithType: object.GetHashCode()
fullName: object.GetHashCode()
nameWithType.vb: Object.GetHashCode()
fullName.vb: Object.GetHashCode()
spec.csharp:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
- name: (
- name: )
spec.vb:
- uid: System.Object.GetHashCode
name: GetHashCode
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gethashcode
- name: (
- name: )
- uid: System.Object.GetType
commentId: M:System.Object.GetType
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
name: GetType()
nameWithType: object.GetType()
fullName: object.GetType()
nameWithType.vb: Object.GetType()
fullName.vb: Object.GetType()
spec.csharp:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
spec.vb:
- uid: System.Object.GetType
name: GetType
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.gettype
- name: (
- name: )
- uid: System.Object.MemberwiseClone
commentId: M:System.Object.MemberwiseClone
parent: System.Object
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
name: MemberwiseClone()
nameWithType: object.MemberwiseClone()
fullName: object.MemberwiseClone()
nameWithType.vb: Object.MemberwiseClone()
fullName.vb: Object.MemberwiseClone()
spec.csharp:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
- name: (
- name: )
spec.vb:
- uid: System.Object.MemberwiseClone
name: MemberwiseClone
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
- name: (
- name: )
- uid: System
commentId: N:System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system
name: System
nameWithType: System
fullName: System
- uid: MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas*
commentId: Overload:MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas
href: MLEM.Data.DataTextureAtlasExtensions.html#MLEM_Data_DataTextureAtlasExtensions_LoadTextureAtlas_Microsoft_Xna_Framework_Content_ContentManager_System_String_System_String_System_Boolean_
name: LoadTextureAtlas
nameWithType: DataTextureAtlasExtensions.LoadTextureAtlas
fullName: MLEM.Data.DataTextureAtlasExtensions.LoadTextureAtlas
- uid: Microsoft.Xna.Framework.Content.ContentManager
commentId: T:Microsoft.Xna.Framework.Content.ContentManager
parent: Microsoft.Xna.Framework.Content
isExternal: true
name: ContentManager
nameWithType: ContentManager
fullName: Microsoft.Xna.Framework.Content.ContentManager
- uid: System.String
commentId: T:System.String
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.string
name: string
nameWithType: string
fullName: string
nameWithType.vb: String
fullName.vb: String
name.vb: String
- uid: System.Boolean
commentId: T:System.Boolean
parent: System
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.boolean
name: bool
nameWithType: bool
fullName: bool
nameWithType.vb: Boolean
fullName.vb: Boolean
name.vb: Boolean
- uid: Microsoft.Xna.Framework.Content
commentId: N:Microsoft.Xna.Framework.Content
isExternal: true
name: Microsoft.Xna.Framework.Content
nameWithType: Microsoft.Xna.Framework.Content
fullName: Microsoft.Xna.Framework.Content
spec.csharp:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework.Content
name: Content
isExternal: true
spec.vb:
- uid: Microsoft
name: Microsoft
isExternal: true
- name: .
- uid: Microsoft.Xna
name: Xna
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework
name: Framework
isExternal: true
- name: .
- uid: Microsoft.Xna.Framework.Content
name: Content
isExternal: true