Search Results for

    Show / Hide Table of Contents

    Class JMARSScene.DataPack

    Used for sample terrains. This is how we load terrains offline by storing them locally

    Inheritance
    System.Object
    JMARSScene.DataPack
    Namespace: TerrainEngine
    Assembly: cs.temp.dll.dll
    Syntax
    public class DataPack

    Fields

    heightData

    Declaration
    public byte[] heightData
    Field Value
    Type Description
    System.Byte[]

    heightDataTextAsset

    Declaration
    public TextAsset heightDataTextAsset
    Field Value
    Type Description
    TextAsset

    heightDataType

    Declaration
    public string heightDataType
    Field Value
    Type Description
    System.String

    jsonURL

    Declaration
    public string jsonURL
    Field Value
    Type Description
    System.String

    layerData

    Declaration
    public List<TextAsset> layerData
    Field Value
    Type Description
    List<TextAsset>

    textures

    Declaration
    public Texture2D[] textures
    Field Value
    Type Description
    Texture2D[]

    viewSceneJson

    Declaration
    public string viewSceneJson
    Field Value
    Type Description
    System.String

    viewSceneJsonTextAsset

    Declaration
    public TextAsset viewSceneJsonTextAsset
    Field Value
    Type Description
    TextAsset

    Methods

    LoadData()

    Loads all of the data from the DataPack into a JMARSScene object

    Declaration
    public void LoadData()
    In This Article
    Back to top Meteor Studio