Name | Type | Default | Description |
---|---|---|---|
json |
Object | optional Json object describing the shape | |
kind |
CustomShapeKind | CustomShapeKin | optional The kind of custom shape |
Properties:
Name | Type | Description |
---|---|---|
id |
number | The shape ID |
name |
string | The shape name |
isBR |
boolean | Indicate if the shape is a BR (Basic Ressource) |
dlc |
boolean | Indicate if the shape is a DLC |
Methods
-
Get the folder associated to a kind of custom shape
Name Type Description kind
CustomShapeKind The kind of custom shape isBR
boolean Indicate if the shape is a BR dlc
boolean Indicate if the shape is a DLC Returns:
Type Description string -
Get the local folder associated to a kind of custom shape
Name Type Description kind
CustomShapeKind The kind of custom shape Returns:
Type Description string -
Read the JSON associated to the shape
Name Type Description json
Object Json object describing the shape -
Load the .obj
-
Get the absolute path associated to this picture
Returns:
Type Description string