ModdableComponentContent Structure |
Namespace: UMod.Moddable
public struct ModdableComponentContent
The ModdableComponentContent type exposes the following members.
| Name | Description | |
|---|---|---|
| ModdableComponentContent(Object) |
Create new moddable component content from the specified source asset
| |
| ModdableComponentContent(Object, Int32) |
Create new moddable component content for the specified source asset with a target array index value.
|
| Name | Description | |
|---|---|---|
| Content |
The asset content for the target component.
| |
| ContentHasIndex |
Returns a value indicating whether the content should be applied at a specific index.
| |
| ContentIndex |
The index for the asset content indicating where the asset should be stored in the target components asset array.
This value will be set to '-1' for components that only accept a single source asset.
| |
| IsValid | ||
| UserData |
| Name | Description | |
|---|---|---|
| GetContentAsT |
Try to get the asset content as the specified generic type.
|