Tanoda
LeapTextureFeature.cs
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) Ultraleap, Inc. 2011-2020. *
3
* *
4
* Use subject to the terms of the Apache License 2.0 available at *
5
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6
* between Ultraleap and you, your company or other organization. *
7
******************************************************************************/
8
9
using
System;
10
using
UnityEngine
;
11
using
UnityEngine
.Rendering;
12
#if UNITY_EDITOR
13
using
UnityEditor
;
14
#endif
15
using
Leap
.
Unity
.
Attributes
;
16
17
namespace
Leap.Unity.GraphicalRenderer
{
18
19
[LeapGraphicTag(
"Texture"
, 10)]
20
[Serializable]
21
public
class
LeapTextureFeature
:
LeapGraphicFeature
<LeapTextureData> {
22
23
[Delayed]
24
[
EditTimeOnly
]
25
public
string
propertyName
=
"_MainTex"
;
26
27
[
EditTimeOnly
]
28
public
UVChannelFlags
channel
= UVChannelFlags.UV0;
29
}
30
}
Leap.Unity.Attributes.EditTimeOnly
Definition:
EditTimeOnly.cs:15
Leap.Unity.GraphicalRenderer.LeapGraphicFeature
Definition:
LeapGraphicFeature.cs:63
Leap.Unity.GraphicalRenderer.LeapTextureFeature
Definition:
LeapTextureFeature.cs:21
Leap.Unity.GraphicalRenderer.LeapTextureFeature.channel
UVChannelFlags channel
Definition:
LeapTextureFeature.cs:28
Leap.Unity.GraphicalRenderer.LeapTextureFeature.propertyName
string propertyName
Definition:
LeapTextureFeature.cs:25
Leap.Unity.Attributes
Definition:
CombinablePropertyDrawer.cs:16
Leap.Unity.GraphicalRenderer
Definition:
EditorPickingMeshRebuilder.cs:12
Leap.Unity
Definition:
AssetFolderPropertyDrawer.cs:15
Leap
Definition:
AssetFolderPropertyDrawer.cs:15
UnityEditor
Definition:
BoxSliderEditor.cs:6
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Plugins
LeapMotion
Legacy
GraphicRenderer
Scripts
Features
Texture
LeapTextureFeature.cs
Generated by
1.9.3