Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
0bdd748d
Commit
0bdd748d
authored
Feb 12, 2020
by
Rémi Verschelde
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Add BaseMaterial3D strings ported from SpatialMaterial
Follow-up to #36135.
parent
7d3954a6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
BaseMaterial3D.xml
doc/classes/BaseMaterial3D.xml
+0
-0
material.cpp
scene/resources/material.cpp
+1
-1
No files found.
doc/classes/BaseMaterial3D.xml
View file @
0bdd748d
This diff is collapsed.
Click to expand it.
scene/resources/material.cpp
View file @
0bdd748d
...
...
@@ -2225,7 +2225,7 @@ void BaseMaterial3D::_bind_methods() {
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
REAL
,
"alpha_scissor_threshold"
,
PROPERTY_HINT_RANGE
,
"0,1,0.01"
),
"set_alpha_scissor_threshold"
,
"get_alpha_scissor_threshold"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
INT
,
"blend_mode"
,
PROPERTY_HINT_ENUM
,
"Mix,Add,Sub,Mul"
),
"set_blend_mode"
,
"get_blend_mode"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
INT
,
"cull_mode"
,
PROPERTY_HINT_ENUM
,
"Back,Front,Disabled"
),
"set_cull_mode"
,
"get_cull_mode"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
INT
,
"depth_draw"
,
PROPERTY_HINT_ENUM
,
"Opaque Only,Always,Never"
),
"set_depth_draw_mode"
,
"get_depth_draw_mode"
);
ADD_PROPERTY
(
PropertyInfo
(
Variant
::
INT
,
"depth_draw
_mode
"
,
PROPERTY_HINT_ENUM
,
"Opaque Only,Always,Never"
),
"set_depth_draw_mode"
,
"get_depth_draw_mode"
);
ADD_PROPERTYI
(
PropertyInfo
(
Variant
::
BOOL
,
"no_depth_test"
),
"set_flag"
,
"get_flag"
,
FLAG_DISABLE_DEPTH_TEST
);
ADD_GROUP
(
"Shading"
,
""
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment