Class DefaultReferences
This scriptable object contains references to frequently used prefabs, materials etc.
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
DefaultReferences
Assembly: VRSketchingGeometry.dll
Syntax
[CreateAssetMenu(fileName = "DefaultReferences", menuName = "ScriptableObjects/DefaultReferences", order = 1)]
public class DefaultReferences : ScriptableObject
Fields
DefaultTextureDirectory
The directory for textures that are referenced in a serialized sketch.
Declaration
public string DefaultTextureDirectory
Field Value
| Type |
Description |
| System.String |
|
LinearInterpolationLineSketchObjectPrefab
Declaration
public GameObject LinearInterpolationLineSketchObjectPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
LineSketchObjectPrefab
Declaration
public GameObject LineSketchObjectPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
PatchSketchObjectPrefab
Declaration
public GameObject PatchSketchObjectPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
RibbonSketchObjectPrefab
Declaration
public GameObject RibbonSketchObjectPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
SketchObjectGroupPrefab
Declaration
public GameObject SketchObjectGroupPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
SketchObjectSelectionPrefab
Declaration
public GameObject SketchObjectSelectionPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
SketchWorldPrefab
Declaration
public GameObject SketchWorldPrefab
Field Value
| Type |
Description |
| UnityEngine.GameObject |
|
StandardSketchMaterial
Declaration
public Material StandardSketchMaterial
Field Value
| Type |
Description |
| UnityEngine.Material |
|
TwoSidedSketchMaterial
Declaration
public Material TwoSidedSketchMaterial
Field Value
| Type |
Description |
| UnityEngine.Material |
|
Methods
GetMaterial(SketchMaterialData.ShaderType)
Get a material object according to the shader type.
Declaration
public Material GetMaterial(SketchMaterialData.ShaderType type)
Parameters
Returns
| Type |
Description |
| UnityEngine.Material |
|
GetMaterialFromDictionary(SketchMaterialData)
Get a material with the properties of the material data applied.
Declaration
public Material GetMaterialFromDictionary(SketchMaterialData sketchMaterialData)
Parameters
Returns
| Type |
Description |
| UnityEngine.Material |
|